Changes for server/config.go: 4 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
@@ -251,6 +251,8 @@ type SocketConfig struct {
WriteWaitMsint`yaml:"write_wait_ms" json:"write_wait_ms" usage:"Time in milliseconds to wait for an ack from the client when writing data."`
PongWaitMsint`yaml:"pong_wait_ms" json:"pong_wait_ms" usage:"Time in milliseconds to wait for a pong message from the client after sending a ping."`
PingPeriodMsint`yaml:"ping_period_ms" json:"ping_period_ms" usage:"Time in milliseconds to wait between client ping messages. This value must be less than the pong_wait_ms."`
SSLCertificatestring`yaml:"ssl_certificate" json:"ssl_certificate" usage:"Path to certificate file if you want the server to use SSL directly. Must also supply ssl_private_key"`
SSLPrivateKeystring`yaml:"ssl_private_key" json:"ssl_private_key" usage:"Path to private key file if you want the server to use SSL directly. Must also supply ssl_certificate"`
}
// NewTransportConfig creates a new TransportConfig struct