func HandleConnection(conn *tufer.Connection, ctx *Context) { defer conn.Close() ctx.LogDebug("Handle Connection") err := Handshake(conn, ctx) if err != nil { ctx.LogWarn("Handshake failed:", err) } }