add comment on function I added

This commit is contained in:
Josh Deprez 2021-01-10 15:16:56 +11:00
parent be41ca7c63
commit 3fb2673343
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ func NewTCPClientHandler(address string) *TCPClientHandler {
// TCPHandlerFromConnection creates a TCP handler from an existing connection.
func TCPHandlerFromConnection(conn net.Conn) *TCPClientHandler {
// Josh was here!
h := &TCPClientHandler{}
h.conn = conn
h.Address = conn.RemoteAddr().String()