Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigSearch configPaths
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Debug bool `json:"debug"` Service ServiceConfig `json:"service"` Connections []ConnectionConfig `json:"connections"` Control ControlConfig `json:"control"` Logging LogConfig `json:"logging"` Version string }
func NewConfigAutoDiscover ¶
func NewConfigFromConsulKey ¶
type ConnectionConfig ¶
type ConnectionConfig struct { Name string `json:"name"` Host string `json:"host"` Port int `json:"port"` FloodProtection bool `json:"flood_protection"` Password string `json:"password"` Nicks []string `json:"nicks"` Ident string `json:"ident"` Realname string `json:"real_name"` Commands []string `json:"commands"` Admins []string `json:"admins"` Channels []string `json:"channels"` Ssl bool `json:"ssl"` }
type ControlConfig ¶
type ServiceConfig ¶
type ServiceConfig struct { SenderBind string `json:"sender_bind"` ReceiverBind string `json:"receiver_bind"` }
TODO(kt) look into zmq channels later
Click to show internal directories.
Click to hide internal directories.