Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string = "v1.1.0"
Functions ¶
This section is empty.
Types ¶
type BotOptions ¶
type BotOptions struct { Name string `yaml:"name"` Path string `yaml:"path"` Webhook string `yaml:"webhook"` Template TemplateOptions `yaml:"template"` }
type CoreOptions ¶
type CoreOptions struct { Mode string `yaml:"mode"` Listen string `yaml:"listen"` Metrics MetricsOptions `yaml:"metrics"` Log LogOptions `yaml:"log"` }
type LogOptions ¶
type MetricsOptions ¶
type Options ¶
type Options struct { Core CoreOptions `yaml:"core"` Bots []BotOptions `yaml:"bots"` }
func NewOptions ¶
func NewOptions() (opts Options)
type TemplateOptions ¶
Click to show internal directories.
Click to hide internal directories.