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) iris.Application
- func NewEnforcer() *casbin.Enforcer
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitHTTPServer ¶
InitHTTPServer 初始化http服务
Types ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
routers
|
|
api
Package api 生成swagger文档 文档规则请参考:https://github.com/teambition/swaggo/wiki/Declarative-Comments-Format 使用方式: go get -u -v github.com/teambition/swaggo swaggo -s ./internal/app/routers/api/swagger.go -p .
|
Package api 生成swagger文档 文档规则请参考:https://github.com/teambition/swaggo/wiki/Declarative-Comments-Format 使用方式: go get -u -v github.com/teambition/swaggo swaggo -s ./internal/app/routers/api/swagger.go -p . |
Click to show internal directories.
Click to hide internal directories.