Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ApplicationConfig = new(Application)
View Source
var CacheConfig = new(Cache)
CacheConfig cache配置
View Source
var (
ExtendConfig interface{}
)
View Source
var GenConfig = new(Gen)
View Source
var JwtConfig = new(Jwt)
View Source
var LoggerConfig = new(Logger)
View Source
var QueueConfig = new(Queue)
View Source
var SslConfig = new(Ssl)
Functions ¶
Types ¶
type Application ¶
type Config ¶
type Config struct {
Application *Application `yaml:"application"`
Ssl *Ssl `yaml:"ssl"`
Logger *Logger `yaml:"logger"`
Jwt *Jwt `yaml:"jwt"`
Database *Database `yaml:"database"`
Databases *map[string]*Database `yaml:"databases"`
Gen *Gen `yaml:"gen"`
Cache *Cache `yaml:"cache"`
Queue *Queue `yaml:"queue"`
Extend interface{} `yaml:"extend"`
}
Config 配置集合
type DBResolverConfig ¶
type Queue ¶ added in v1.3.6
type Queue struct {
Memory *QueueMemory
}
type QueueMemory ¶ added in v1.3.6
type QueueMemory struct {
PoolSize uint
}
Click to show internal directories.
Click to hide internal directories.