Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Time allowed to write a message to the peer. WriteWait = 10 * time.Second // Time allowed to read the next pong message from the peer. PongWait = 15 * time.Second //* 1000 // Send pings to peer with this period. Must be less than pongWait. PingPeriod = 1 * time.Second // Maximum message size allowed from peer. MaxMessageSize = 4096 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WaitGroupWrapper ¶
func (*WaitGroupWrapper) Wrap ¶
func (this *WaitGroupWrapper) Wrap(cb func())
Click to show internal directories.
Click to hide internal directories.