Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIGatewayConfig ¶
type APIGatewayConfig struct { PEM string `yaml:"pem"` PrivateKey string `yaml:"privateKey"` Host string `yaml:"host"` Port int `yaml:"port"` APIPort int `yaml:"apiPort"` HTTPSPort int `yaml:"httpsPort"` IndexPath string `yaml:"indexPath"` AssetsPath string `yaml:"assetsPath"` StaticPath string `yaml:"staticPath"` }
type Config ¶
type Config struct { GlobalConfig GlobalConfig `yaml:"global"` APIGatewayConfig APIGatewayConfig `yaml:"apiGateway"` Robot RobotConfig `yaml:"robot"` }
type EmailConfig ¶
type GlobalConfig ¶
type QQBotConfig ¶
type RobotConfig ¶
type RobotConfig struct { CQHttpBot []CQHttpBot `yaml:"CQHttpBot"` // cq http qq机器人 QQBot []QQBotConfig `yaml:"QQBot"` WeChatBot []WeChatBotConfig `yaml:"WeChatBot"` }
type Svc ¶
type Svc struct { DB *gorm.DB Cache *cache.Cache Cfg Config Cov convenient.ConvenientI }
type WeChatBotConfig ¶
type WeChatBotConfig struct {
Enable bool `yaml:"enable"`
}
Click to show internal directories.
Click to hide internal directories.