1234567891011121314151617 |
- package config
- import "time"
- type websocket struct {
- ConnectSize int `mapstructure:"connect_size"`
- MessageSize int `mapstructure:"message_size"`
- HeartbeatWait time.Duration `mapstructure:"heartbeat_wait"`
- FirstReadWait time.Duration `mapstructure:"first_read_wait"`
- // ReadWait time.Duration `mapstructure:"read_wait"`
- WriteWait time.Duration `mapstructure:"write_wait"`
- ReadBufferSize int `mapstructure:"read_buffer_size"`
- WriteBufferSize int `mapstructure:"write_buffer_size"`
- NatsUrl string `mapstructure:"nats_url"`
- }
|