Documentation ¶
Index ¶
- Variables
- func InitCasbin(db *gorm.DB) *casbin.SyncedEnforcer
- func InitEtcdClient() *clientv3.Client
- func InitGinMiddlewares() []gin.HandlerFunc
- func InitLdapConfig() ldapx.Config
- func InitMQ() mq.MQ
- func InitMongoDB() *mongox.Mongo
- func InitMySQLDB() *gorm.DB
- func InitRedis() redis.Cmdable
- func InitWebServer(sp session.Provider, ...) *gin.Engine
- type App
Constants ¶
This section is empty.
Variables ¶
View Source
var BaseSet = wire.NewSet(InitMongoDB, InitMySQLDB, InitRedis, InitMQ, InitEtcdClient, InitLdapConfig)
Functions ¶
func InitCasbin ¶
func InitEtcdClient ¶
func InitGinMiddlewares ¶
func InitGinMiddlewares() []gin.HandlerFunc
func InitLdapConfig ¶
func InitMongoDB ¶
func InitMySQLDB ¶
func InitWebServer ¶
func InitWebServer(sp session.Provider, checkPolicyMiddleware *middleware.CheckPolicyMiddlewareBuilder, mdls []gin.HandlerFunc, modelHdl *model.Handler, attributeHdl *attribute.Handler, resourceHdl *resource.Handler, rmHdl *relation.RMHandler, rrHdl *relation.RRHandler, workerHdl *worker.Handler, rtHdl *relation.RTHandler, userHdl *user.Handler, templateHdl *template.Handler, strategyHdl *strategy.Handler, codebookHdl *codebook.Handler, runnerHdl *runner.Handler, orderHdl *order.Handler, workflowHdl *workflow.Handler, templateGroupHdl *template.GroupHdl, engineHdl *engine.Handler, taskHdl *task.Handler, policyHdl *policy.Handler, menuHdl *menu.Handler, endpointHdl *endpoint.Handler, roleHdl *role.Handler, permissionHdl *permission.Handler, ) *gin.Engine
Types ¶
Click to show internal directories.
Click to hide internal directories.