Documentation ¶
Index ¶
- func BuildContainer() (*dig.Container, func())
- func Init(ctx context.Context, opts ...Option) func()
- func InitHTTPServer(ctx context.Context, container *dig.Container) func()
- func InitLogger() (func(), error)
- func InitStore(container *dig.Container) (func(), error)
- func InitWeb(container *dig.Container) *gin.Engine
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitHTTPServer ¶
InitHTTPServer 初始化http服务
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package routers 生成swagger文档 文档规则请参考:https://github.com/swaggo/swag#declarative-comments-format 使用方式: go get -u github.com/swaggo/swag/cmd/swag swag init -g ./internal/app/routers/swagger.go -o ./docs/swagger
|
Package routers 生成swagger文档 文档规则请参考:https://github.com/swaggo/swag#declarative-comments-format 使用方式: go get -u github.com/swaggo/swag/cmd/swag swag init -g ./internal/app/routers/swagger.go -o ./docs/swagger |
Click to show internal directories.
Click to hide internal directories.