deprecated_overflow_gateway.../websocket.go
crusader 7ef5ec9e3f ing
2017-11-09 19:56:11 +09:00

13 lines
655 B
Go

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"`
ReadTimeout time.Duration `json:"readTimeout" yaml:"readTimeout" toml:"readTimeout"`
WriteTimeout time.Duration `json:"writeTimeout" yaml:"writeTimeout" toml:"writeTimeout"`
EnableCompression bool `json:"enableCompression" yaml:"enableCompression" toml:"enableCompression"`
}