overflow_gateway_websocket/config/websocket.go

11 lines
479 B
Go
Raw Normal View History

2017-11-10 13:24:10 +00:00
package config
import "time"
type Websocket struct {
HandshakeTimeout time.Duration `json:"handshakeTimeout" yaml:"handshakeTimeout" toml:"handshakeTimeout"`
ReadBufferSize int `json:"readBufferSize" yaml:"readBufferSize" toml:"readBufferSize"`
WriteBufferSize int `json:"writeBufferSize" yaml:"writeBufferSize" toml:"writeBufferSize"`
EnableCompression bool `json:"enableCompression" yaml:"enableCompression" toml:"enableCompression"`
}