Versions in this module Expand all Collapse all v0 v0.1.0 Apr 15, 2020 Changes in this version + type Argument struct + Help string + Id string + Items []*Item + type Auth struct + Passphrase string + Password string + PrivateKeyPath string + Type string + Username string + type Command struct + Arguments []*Argument + Format string + Help string + Id string + MaxMessages int + MaxSymbolsPerMessage int + Timeout time.Duration + type Config struct + Groups map[string]*Group + Help string + Hosts map[string]*Host + Settings *Settings + func Parse(configData string) (*Config, error) + func ParseFile(configPath string) (*Config, error) + type Group struct + Commands map[string]*Command + Help string + Hosts map[string]*Host + Id string + type Host struct + Address string + Auth *Auth + Id string + Port int + type Item struct + Name string + Value string + type Settings struct + Admins map[string]struct{} + Channels map[string]struct{} + Token string + Users map[string]struct{}