Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BotEnabled ¶ added in v0.32.1
Types ¶
type ScriptEngine ¶ added in v0.32.1
type ScriptEngine struct {
// Enabled
Enabled bool `json:"enabled" yaml:"enabled" mapstructure:"enabled"`
// script path
ScriptPath string `json:"script_path" yaml:"script_path" mapstructure:"script_path"`
// User ID
UID string `json:"uid" yaml:"uid" mapstructure:"uid"`
// Group ID
GID string `json:"gid" yaml:"gid" mapstructure:"gid"`
// skip watch dir
SkipWatchDir []string `json:"skip_watch_dir" yaml:"skip_watch_dir" mapstructure:"skip_watch_dir"`
}
type Type ¶ added in v0.32.1
type Type struct {
// logging level
LogLevel string `json:"log_level" yaml:"log_level" mapstructure:"log_level"`
// bot enabled
BotsEnabled []string `json:"bots_enabled" yaml:"bots_enabled" mapstructure:"bots_enabled"`
// API
Api Api `json:"api" yaml:"api" mapstructure:"api"`
// Updater
Updater Updater `json:"updater" yaml:"updater" mapstructure:"updater"`
// script engine
ScriptEngine ScriptEngine `json:"script_engine" yaml:"script_engine" mapstructure:"script_engine"`
// Metrics
Metrics Metrics `json:"metrics" yaml:"metrics" mapstructure:"metrics"`
}
var App Type
Click to show internal directories.
Click to hide internal directories.