Documentation ¶
Index ¶
- Variables
- func AdminPermission() gin.HandlerFunc
- func InitCache(cmd redis.Cmdable) ecache.Cache
- func InitCosConfig() cos.Config
- func InitDB() *egorm.Component
- func InitES() *elastic.Client
- func InitMQ() mq.MQ
- func InitRedis() redis.Cmdable
- func InitSession(cmd redis.Cmdable) session.Provider
- func InitUserHandler(db *egorm.Component, ec ecache.Cache, q mq.MQ, memModule *member.Module, ...) *user.Handler
- func WaitForDBSetup(dsn string)
- type AdminServer
- type App
Constants ¶
This section is empty.
Variables ¶
View Source
var BaseSet = wire.NewSet(InitDB, InitCache, InitES, InitRedis, InitMQ, InitCosConfig)
Functions ¶
func AdminPermission ¶ added in v0.1.0
func AdminPermission() gin.HandlerFunc
func InitCosConfig ¶
func InitSession ¶
func InitUserHandler ¶
func WaitForDBSetup ¶
func WaitForDBSetup(dsn string)
Types ¶
type AdminServer ¶ added in v0.1.0
func InitAdminServer ¶ added in v0.1.0
func InitAdminServer(prj *project.AdminHandler, rm *roadmap.AdminHandler, que *baguwen.AdminHandler, queSet *baguwen.AdminQuestionSetHandler, mark *marketing.AdminHandler) AdminServer
Click to show internal directories.
Click to hide internal directories.