Changes for server/config.go: 5 added lines, 5 removed lines.
Original line number
Diff line number
Diff line
@@ -34,7 +34,7 @@ type Config interface {
GetDataDir()string
GetPort()int
GetDashboardPort()int
GetDSNS()[]string
GetDB()[]string
GetLog()*LogConfig
GetSession()*SessionConfig
GetTransport()*TransportConfig
@@ -90,7 +90,7 @@ type config struct {
Datadirstring`yaml:"data_dir" json:"data_dir" usage:"An absolute path to a writeable folder where Nakama will store its data."`
Portint`yaml:"port" json:"port" usage:"The port for accepting connections from the client, listening on all interfaces. Unless explicitly defined, other ports will be chosen sequentially from here upwards."`
DashboardPortint`yaml:"dashboard_port" json:"dashboard_port" usage:"The port for accepting connections to the dashboard, listening on all interfaces."`
Dsns[]string`yaml:"dsns" json:"dsns" usage:"List of fully qualified JDBC addresses of CockroachDB servers."`
DB[]string`yaml:"db" json:"db" usage:"List of fully qualified JDBC addresses of CockroachDB servers."`
Log*LogConfig`yaml:"log" json:"log" usage:"Log levels and output"`