Explorar o código

receiver prototype

Darien Raymond %!s(int64=8) %!d(string=hai) anos
pai
achega
1cf9cd5d78
Modificáronse 1 ficheiros con 21 adicións e 0 borrados
  1. 21 0
      app/receiver/receiver.go

+ 21 - 0
app/receiver/receiver.go

@@ -0,0 +1,21 @@
+package receiver
+
+import (
+	"net"
+
+	"v2ray.com/core/proxy"
+)
+
+type refresher struct {
+}
+
+type StreamReceiver struct {
+	config *StreamReceiverConfig
+	proxy  *proxy.InboundHandler
+
+	listeners []net.Listener
+}
+
+func (r *StreamReceiver) Start() {
+
+}