Documentation ¶
Index ¶
- func Init(ctx context.Context, opts ...Option) (func(), error)
- func InitAuth() (auth.Auther, func(), error)
- func InitCasbin(adapter persist.Adapter) (*casbin.SyncedEnforcer, func(), error)
- func InitGormDB() (func(), []error)
- func InitHTTPServer(ctx context.Context, handler http.Handler) func()
- func InitJobs()
- func InitLogger() (func(), error)
- func InitRedis() (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 InitCasbin ¶
InitCasbin 初始化Casbin
func InitHTTPServer ¶
InitHTTPServer 初始化http服务
Types ¶
Click to show internal directories.
Click to hide internal directories.