Documentation ¶
Index ¶
Constants ¶
View Source
const TcpDialTimeout time.Duration = 5 * time.Second
View Source
const TcpKeepIntvl time.Duration = 47 * time.Second // prime number that I chose for keep alive
View Source
const TcpReconIntvl time.Duration = 15 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TcpClient ¶
type TcpClient struct {
// contains filtered or unexported fields
}
func NewTcpClient ¶
type TcpServer ¶
type TcpServer struct {
// contains filtered or unexported fields
}
func NewTcpServer ¶
Click to show internal directories.
Click to hide internal directories.