多处增加是否独立配置选项

This commit is contained in:
GoEdgeLab
2020-09-23 18:43:50 +08:00
parent f3cb3e3880
commit 2bdb5c232a
17 changed files with 416 additions and 296 deletions

View File

@@ -9,7 +9,8 @@ import (
// websocket设置
type HTTPWebsocketConfig struct {
IsOn bool `yaml:"isOn" json:"isOn"` // 是否开启
Id int64 `yaml:"id" json:"id"` // ID
IsOn bool `yaml:"isOn" json:"isOn"` // 是否开启
// 握手超时时间
HandshakeTimeout *shared.TimeDuration `yaml:"handshakeTimeout" json:"handshakeTimeout"`