Documentation ¶
Index ¶
Constants ¶
View Source
const ( Data messageType = iota + 1 Connect Error )
Variables ¶
View Source
var ( PingWaitDuration = time.Duration(10 * time.Second) PingWriteInterval = time.Duration(5 * time.Second) MaxRead = 8192 )
View Source
var (
ErrConnClosed = errors.New("ConnClosed")
)
Functions ¶
func ClientConnect ¶
Types ¶
type Authorizer ¶
type ConnectAuthorizer ¶
type ErrorWriter ¶
Click to show internal directories.
Click to hide internal directories.