package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: May 17, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Plug struct {
Sock bool `json:"socket"`
Tcp uint32 `json:"port"`
Bl []struct {
Cmd string `json:"cmd"`
Allow bool `json:"allow"`
Dmsg string `json:"dmsg"`
Amsg string `json:"admin-msg"`
} `json:"commands"`
Desc bool `json:"description"`
} `json:"plugin"`
}
type Db struct {
All []struct {
Cmd []string `yaml:"commands"`
Meth string `yaml:"method"`
Path []string `yaml:"path"`
} `yaml:"methods"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.