From 0df54321d12b00a3beec961958cd6ef18ca630ff Mon Sep 17 00:00:00 2001 From: Tero Marttila Date: Wed, 26 Oct 2016 18:18:37 +0300 Subject: [PATCH] universe: docdoc TCPSender write-only --- universe/tcp.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/universe/tcp.go b/universe/tcp.go index 1a49993..7281edd 100644 --- a/universe/tcp.go +++ b/universe/tcp.go @@ -29,6 +29,9 @@ func tcpSender(options TallyOptions, url TallyURL) (*TCPSender, error) { return &tcpSender, nil } +// The TCP connection is uni-directional. It is only used to send commands, +// and we do not expect to ever receive any commands. +// TODO: consider net:TCPConn.CloseRead? type TCPSender struct { options TallyOptions