package
0.0.0-20191221075522-ab75adb1fb22
Repository: https://github.com/levin9/go-admin.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package routers 生成swagger文档 文档规则请参考:https://github.com/swaggo/swag#declarative-comments-format 使用方式: go get -u github.com/swaggo/swag/cmd/swag swag init -g ./internal/app/routers/swagger.go -o ./docs/swagger*/.
No description provided by the author
Package test 接口测试 使用方式: go test -v */.

# Functions

BuildContainer 创建依赖注入容器.
Init 应用初始化.
InitAuth 初始化用户认证.
InitCaptcha 初始化图形验证码.
InitCasbinEnforcer 初始化casbin校验器.
InitData 初始化应用数据.
InitHTTPServer 初始化http服务.
InitLogger 初始化日志.
InitMonitor 初始化服务监控.
InitStore 初始化存储.
InitWeb 初始化web引擎.
NewCasbinAdapter 创建casbin适配器.
NewCasbinEnforcer 创建casbin校验器.
ReleaseCasbinEnforcer 释放casbin资源.
SetConfigFile 设定配置文件.
SetMenuFile 设定菜单数据文件.
SetModelFile 设定casbin模型配置文件.
SetSwaggerDir 设定swagger目录.
SetVersion 设定版本号.
SetWWWDir 设定静态站点目录.

# Structs

CasbinAdapter casbin适配器.

# Type aliases

Option 定义配置项.