diff options
author | David Anderson <[email protected]> | 2017-07-05 17:20:03 -0700 |
---|---|---|
committer | David Anderson <[email protected]> | 2017-07-05 17:29:29 -0700 |
commit | e03035937341374a9be6eb8459ffe4f23bacd185 (patch) | |
tree | 76c0b6da00ab091ce63a658d2e20b1235c0cb54c /tcpproxy.go | |
parent | 6d97c2aa8ea9d9f5a35614d1f4a2a7d6be28ae9a (diff) |
Fix golint nits by adding docstrings and simplifying execution flow.fix-golint
Diffstat (limited to 'tcpproxy.go')
-rw-r--r-- | tcpproxy.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tcpproxy.go b/tcpproxy.go index 8a520f6..8a316c7 100644 --- a/tcpproxy.go +++ b/tcpproxy.go @@ -295,6 +295,7 @@ func UnderlyingConn(c net.Conn) net.Conn { return c } +// HandleConn implements the Target interface. func (dp *DialProxy) HandleConn(src net.Conn) { ctx := context.Background() var cancel context.CancelFunc |