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 = 10 * time.Second // Send pings to peer with this period. Must be less than pongWait. PingPeriod = (PongWait * 8) / 10 // Maximum message size allowed from peer. MaxMessageSize = 512 )
Variables ¶
View Source
var ( Newline = []byte{'\n'} Space = []byte{' '} )
Functions ¶
func GetCommandFromMap ¶
func GetLocalIP ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.