Skip to content

Commit

Permalink
universe: docdoc TCPSender write-only
Browse files Browse the repository at this point in the history
  • Loading branch information
SpComb committed Oct 26, 2016
1 parent 63e41a9 commit 0df5432
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions universe/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0df5432

Please sign in to comment.