Documentation
¶
Index ¶
- Variables
- func Init(ctx context.Context, opts ...Option) (func(), error)
- func InitAuth() (auth.Auther, func(), error)
- func InitGinEngine(r router.IRouter) *gin.Engine
- func InitGormDB() (*gorm.DB, func(), error)
- func InitHTTPServer(ctx context.Context, handler http.Handler) func()
- func InitLogger() (func(), error)
- func InitMonitor(ctx context.Context) func()
- func NewGormDB() (*gorm.DB, error)
- func Run(ctx context.Context, opts ...Option) error
- type Injector
- type Option
Constants ¶
This section is empty.
Variables ¶
InjectorSet 注入Injector
Functions ¶
func InitHTTPServer ¶
InitHTTPServer 初始化http服务
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.