Documentation ¶
Overview ¶
Package websocket serve websocket connections
Index ¶
Constants ¶
View Source
const ( // DurationOfPing describes the interval of ping DurationOfPing = 10 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func ListenAndServe ¶
ListenAndServe create the websocket server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.