logger.Fatal("Ping period value must be less than pong wait value",zap.Int("socket.ping_period_ms",mainConfig.GetSocket().PingPeriodMs),zap.Int("socket.pong_wait_ms",mainConfig.GetSocket().PongWaitMs))
// SocketConfig is configuration relevant to the transport socket and protocol.
typeSocketConfigstruct{
ServerKeystring`yaml:"server_key" json:"server_key" usage:"Server key to use to establish a connection to the server."`
Portint`yaml:"port" json:"port" usage:"The port for accepting connections from the client, listening on all interfaces."`
Portint`yaml:"port" json:"port" usage:"The port for accepting connections from the client for the given interface(s), address(es), and protocol(s). Default 7350."`
Addressstring`yaml:"address" json:"address" usage:"The IP address of the interface to listen for client traffic on. Default listen on all available addresses/interfaces."`
Protocolstring`yaml:"protocol" json:"protocol" usage:"The network protocol to listen for traffic on. Possible values are 'tcp' for both IPv4 and IPv6, 'tcp4' for IPv4 only, or 'tcp6' for IPv6 only. Default 'tcp'."`
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. Used for real-time, gRPC and HTTP connections."`
ReadTimeoutMsint`yaml:"read_timeout_ms" json:"read_timeout_ms" usage:"Maximum duration in milliseconds for reading the entire request. Used for HTTP connections."`
WriteTimeoutMsint`yaml:"write_timeout_ms" json:"write_timeout_ms" usage:"Maximum duration in milliseconds before timing out writes of the response. Used for HTTP connections."`