Documentation
¶
Overview ¶
Package app 提供应用启动器
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Config *Config
DB *gorm.DB
Redis *redislib.Client
TxManager *tx.Manager
HTTP *httpx.Server
}
App 应用
type Config ¶
type Config struct {
Service ServiceConfig
HTTP httpx.Config
Log log.Config
DB db.Config
Redis redis.Config
}
Config 应用配置
type ServiceConfig ¶
Click to show internal directories.
Click to hide internal directories.