Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection interface { ID() uint32 LocalAddr() string RemoteAddr() string // update conn's active time UpdateActive() // get conn's active time GetActive() time.Time // SetReadTimeout sets deadline for the future read calls. SetReadTimeout(time.Duration) // SetWriteTimeout sets deadline for the future read calls. SetWriteTimeout(time.Duration) // contains filtered or unexported methods }
Click to show internal directories.
Click to hide internal directories.