Documentation ¶
Index ¶
- func CORSMiddleware() gin.HandlerFunc
- func ConfRouter(router *gin.RouterGroup)
- func GenRouter(router *gin.RouterGroup)
- func JobRouter(router *gin.RouterGroup)
- func LogRouter(router *gin.RouterGroup)
- func MaxRouter(port int, group, secretKey string, service rbac.IRBACService) *gin.Engine
- func MinRouter(port int, group, secretKey string, service rbac.IRBACService) *gin.Engine
- func RbacRouter(router *gin.RouterGroup)
- func Run(param string) error
- func SrvRouter(router *gin.RouterGroup)
- func SysRouter(router *gin.RouterGroup, maxCores int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CORSMiddleware ¶ added in v1.8.0
func CORSMiddleware() gin.HandlerFunc
func ConfRouter ¶ added in v1.0.2
func ConfRouter(router *gin.RouterGroup)
func GenRouter ¶ added in v1.0.2
func GenRouter(router *gin.RouterGroup)
func JobRouter ¶ added in v1.0.2
func JobRouter(router *gin.RouterGroup)
func LogRouter ¶ added in v1.0.2
func LogRouter(router *gin.RouterGroup)
func RbacRouter ¶ added in v1.0.2
func RbacRouter(router *gin.RouterGroup)
func SrvRouter ¶ added in v1.0.2
func SrvRouter(router *gin.RouterGroup)
func SysRouter ¶ added in v1.5.0
func SysRouter(router *gin.RouterGroup, maxCores int)
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
controllers/base_controller.go
|
controllers/base_controller.go |
dsl
service/base_service.go
|
service/base_service.go |
middle/logger
model.go
|
model.go |
sys
|
|
rbac/captcha/assets/bindata/images
Code generated for package images by go-bindata DO NOT EDIT.
|
Code generated for package images by go-bindata DO NOT EDIT. |
rbac/captcha/assets/bindata/tiles
Code generated for package tiles by go-bindata DO NOT EDIT.
|
Code generated for package tiles by go-bindata DO NOT EDIT. |
Click to show internal directories.
Click to hide internal directories.