Documentation ¶
Overview ¶
Package config
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WSDefaultUpdate = WSUpdateConf{ HandshakeTimeout: time.Second * 10, ReadBufferSize: 1024, WriteBufferSize: 1024, CheckOrigin: func(r *http.Request) bool { return true }, }
WSDefaultUpdate 默认升级配置
Functions ¶
func SetCheckOrigin ¶
Types ¶
type WSUpdateConf ¶
Click to show internal directories.
Click to hide internal directories.