logger.Fatal("Ping period value must be less than pong wait value",zap.Int("socket.ping_period_ms",config.GetSocket().PingPeriodMs),zap.Int("socket.pong_wait_ms",config.GetSocket().PongWaitMs))
// ConsoleConfig is configuration relevant to the embedded console.
typeConsoleConfigstruct{
Portint`yaml:"port" json:"port" usage:"The port for accepting connections for the embedded console, listening on all interfaces."`
MaxMessageSizeBytesint64`yaml:"max_message_size_bytes" json:"max_message_size_bytes" usage:"Maximum amount of data in bytes allowed to be read from the client socket per message."`
ReadTimeoutMsint`yaml:"read_timeout_ms" json:"read_timeout_ms" usage:"Maximum duration in milliseconds for reading the entire request."`
WriteTimeoutMsint`yaml:"write_timeout_ms" json:"write_timeout_ms" usage:"Maximum duration in milliseconds before timing out writes of the response."`
IdleTimeoutMsint`yaml:"idle_timeout_ms" json:"idle_timeout_ms" usage:"Maximum amount of time in milliseconds to wait for the next request when keep-alives are enabled."`
Usernamestring`yaml:"username" json:"username" usage:"Username for the embedded console. Default username is 'admin'."`
Passwordstring`yaml:"password" json:"password" usage:"Password for the embedded console. Default password is 'password'."`