Documentation ¶
Index ¶
Constants ¶
View Source
const BUFFER_SIZE = 32 * 1024 // 32KB
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnWriter ¶
type TCPService ¶
type TCPService struct {
// contains filtered or unexported fields
}
func NewTCPService ¶
NewTCPService creates a listner that accepts TCP connections. The UDP port is incremented by one to get the TCP port.
func (*TCPService) Messages ¶
func (t *TCPService) Messages() <-chan *types.Msg
Click to show internal directories.
Click to hide internal directories.