Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtBot ¶
type ArtBot struct {
Channel string `yaml:"Channel" json:",optional"`
StableDiffusion config2.StableDiffusion `yaml:"StableDiffusion" json:",optional"`
Queue Queue `yaml:"Queue" json:",optional"`
Log Log `yaml:"Log" json:",optional"`
}
type ChatBot ¶
type ChatBot struct {
Channel string `yaml:"Channel" json:",optional"`
ChatGPT config.ChatGPT `yaml:"ChatGPT" json:",optional"`
XFYun config.XFYun `yaml:"XFYun" json:",optional"`
THUDMGLM config.THUDMGLM `yaml:"THUDM_GLM" json:",optional"`
Queue Queue `yaml:"Queue" json:",optional"`
Log Log `yaml:"Log" json:",optional"`
}
type ConfigInterface ¶
type RCConfig ¶
type RCConfig struct {
Database Database `yaml:"Database" json:",optional"`
Auth Auth `yaml:"Auth" json:",optional"`
ArtBot ArtBot `yaml:"ArtBot" json:",optional"`
ChatBot ChatBot `yaml:"ChatBot" json:",optional"`
}
func LoadRCConfig ¶
func LoadRCConfig() *RCConfig
func LoadRCConfigByPath ¶
type Redis ¶
type Redis struct {
Addr string `yaml:"Addr" json:",optional"`
ClientName string `yaml:"ClientName" json:",optional"`
Username string `yaml:"Username" json:",optional"`
Password string `yaml:"Password" json:",optional"`
DB int `yaml:"DB" json:",optional"`
MaxRetries int `yaml:"MaxRetries" json:",optional"`
}
Click to show internal directories.
Click to hide internal directories.