Documentation ¶
Index ¶
- func BuildContainer() (*dig.Container, func())
- func Init(ctx context.Context, opts ...Option) func()
- func InitAuth() (auth.Auther, error)
- func InitCaptcha()
- func InitData(ctx context.Context, container *dig.Container) error
- func InitHTTPServer(ctx context.Context, container *dig.Container) func()
- func InitLogger() (func(), error)
- func InitMonitor() error
- func InitStore(container *dig.Container) (func(), error)
- func InitWeb(container *dig.Container) *gin.Engine
- func NewEnforcer() *casbin.Enforcer
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitHTTPServer ¶
InitHTTPServer 初始化http服务
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.