Documentation ¶
Index ¶
- func Init(ctx context.Context, opts ...Option) (func(), error)
- func InitAuth() (auth.Auther, func(), error)
- func InitCasbin() (*casbin.SyncedEnforcer, error)
- func InitGormDB() (func(), []error)
- func InitHTTPServer(ctx context.Context, handler http.Handler) func()
- func InitJobs()
- func InitLogger() (func(), error)
- func InitWebSocket()
- func Run(ctx context.Context, opts ...Option) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitHTTPServer ¶
InitHTTPServer 初始化http服务
Types ¶
Click to show internal directories.
Click to hide internal directories.