summaryrefslogtreecommitdiff
path: root/socket_factory.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-12 20:45:24 +0300
committerWolfy-J <[email protected]>2018-06-12 20:45:24 +0300
commit99c1121d8fd31b7b61b6c22e181dc3c05a3f9f82 (patch)
tree25e6baf4eaf4e4ebd37c2431e485dfe3f4e3ac11 /socket_factory.go
parentf8d8e9a55d31c6ee98b1f292e49b31b474883a4f (diff)
static pool logic update, better watching techniques
Diffstat (limited to 'socket_factory.go')
-rw-r--r--socket_factory.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket_factory.go b/socket_factory.go
index 70f70f30..43059e8a 100644
--- a/socket_factory.go
+++ b/socket_factory.go
@@ -25,7 +25,7 @@ type SocketFactory struct {
relays map[int]chan *goridge.SocketRelay
}
-// NewSocketFactory returns SocketFactory attached to a given socket listener.
+// NewSocketFactory returns SocketFactory attached to a given socket lsn.
// tout specifies for how long factory should serve for incoming relay connection
func NewSocketFactory(ls net.Listener, tout time.Duration) *SocketFactory {
f := &SocketFactory{