Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MainCmd = &cobra.Command{ Use: "cashshuffle", Short: "CashShuffle server.", Long: `CashShuffle server.`, Run: func(cmd *cobra.Command, args []string) { errChan := performCommand(cmd, args) handleServerErrors(errChan) }, }
MainCmd is the main command for Cobra.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DisplayVersion bool `json:"-"` Port int `json:"port,string"` StatsPort int `json:"stats_port,string"` WebSocketPort int `json:"websocket_port,string"` Cert string `json:"cert"` Key string `json:"key"` PoolSize int `json:"pool_size,string"` Debug bool `json:"debug,string"` AutoCert string `json:"auto_cert"` BindIP string `json:"bind_ip"` Tor bool `json:"tor,string"` TorBindIP string `json:"tor_bind_ip"` TorPort int `json:"tor_port,string"` TorStatsPort int `json:"tor_stats_port,string"` TorWebSocketPort int `json:"tor_websocket_port,string"` }
Config stores all the application configuration.
Click to show internal directories.
Click to hide internal directories.