Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func (*Config) LoadFromFile ¶
type Server ¶
type Server struct { Ip string `gcfg:"ip"` // IP to bind, normally 0.0.0.0 Ports []int `gcfg:"port"` // Port to bind Name string `gcfg:"name"` // Name of this IRC server CreatedAt string `gcfg:"created"` // Creted Time of this IRC server SSL bool `gcfg:"ssl"` // Enable SSL or not Password string `gcfg:"password"` // Password of this IRC server CertFile string `gcfg:"cert-file"` // Cert for SSL KeyFile string `gcfg:"key-file"` // Key for SSL DisabledCommands []string `gcfg:"disabled-command"` // Which commands to disable }
Click to show internal directories.
Click to hide internal directories.