Versions in this module Expand all Collapse all v7 v7.0.1 Mar 28, 2021 v7.0.0 Aug 30, 2020 Changes in this version + var InjectorSet = wire.NewSet(wire.Struct(new(Injector), "*")) + func Init(ctx context.Context, opts ...Option) (func(), error) + func InitAuth() (auth.Auther, func(), error) + func InitCaptcha() + func InitCasbin(adapter persist.Adapter) (*casbin.SyncedEnforcer, 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, func(), error) + func Run(ctx context.Context, opts ...Option) error + type Injector struct + Auth auth.Auther + CasbinEnforcer *casbin.SyncedEnforcer + Engine *gin.Engine + MenuBll *bll.Menu + func BuildInjector() (*Injector, func(), error) + type Option func(*options) + func SetConfigFile(s string) Option + func SetMenuFile(s string) Option + func SetModelFile(s string) Option + func SetVersion(s string) Option + func SetWWWDir(s string) Option Other modules containing this package github.com/LyricTian/gin-admin/v6 github.com/LyricTian/gin-admin/v8