Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTCPServerConfig = TCPServerConfig{
ReadBufferSize: 1024,
}
Functions ¶
This section is empty.
Types ¶
type TCPServer ¶
type TCPServer struct {
// contains filtered or unexported fields
}
func NewTCPServer ¶
func NewTCPServer(config ...TCPServerConfig) *TCPServer
type TCPServerConfig ¶
type TCPServerConfig struct {
ReadBufferSize int
}
Click to show internal directories.
Click to hide internal directories.