Discover Packages
github.com/jdxj/sign
internal
pkg
config
package
Version:
v0.2.2
Opens a new window with list of versions in this module.
Published: Aug 4, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type APIServer struct {
Host string `yaml:"host"`
Port string `yaml:"port"`
User string `yaml:"user"`
Pass string `yaml:"pass"`
}
type Bot struct {
Token string `yaml:"token"`
ChatID int64 `yaml:"chat_id"`
}
type Logger struct {
Path string `yaml:"path"`
Mode string `yaml:"mode"`
}
type Root struct {
Bot Bot `yaml:"bot"`
Logger Logger `yaml:"logger"`
User []User `yaml:"user"`
APIServer APIServer `yaml:"api_server"`
Storage Storage `yaml:"storage"`
}
type Storage struct {
Path string `yaml:"path"`
}
type User struct {
ID string `yaml:"id" json:"id"`
Domain int `yaml:"domain" json:"domain"`
Type []int `yaml:"type" json:"type"`
Key string `yaml:"key" json:"key"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.