Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandle ¶
func RegisterHandle()
func WebSocketHandleFunc ¶
func WebSocketHandleFunc(w http.ResponseWriter, req *http.Request)
WebSocketHandleFunc 叫做 conn goroutine,也可以称为 read goroutine ws 链接时触发
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.