Documentation ¶
Index ¶
- func CORSMiddle() igin.HandlerFunc
- func ConfRouter(router igin.IRouterGroup)
- func GenRouter(router igin.IRouterGroup)
- func JobRouter(router igin.IRouterGroup)
- func LogRouter(router igin.IRouterGroup)
- func MinRouter(port int, group, secretKey string, service rbac.IRBACService) igin.Engine
- func RbacRouter(router igin.IRouterGroup)
- func SrvRouter(router igin.IRouterGroup)
- func SysMiddle(router igin.Engine, maxCores int)
- type RouterBuilder
- type RouterConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CORSMiddle ¶ added in v1.0.2
func CORSMiddle() igin.HandlerFunc
func ConfRouter ¶ added in v1.0.2
func ConfRouter(router igin.IRouterGroup)
func GenRouter ¶ added in v1.0.2
func GenRouter(router igin.IRouterGroup)
func JobRouter ¶ added in v1.0.2
func JobRouter(router igin.IRouterGroup)
func LogRouter ¶ added in v1.0.2
func LogRouter(router igin.IRouterGroup)
func RbacRouter ¶ added in v1.0.2
func RbacRouter(router igin.IRouterGroup)
func SrvRouter ¶ added in v1.0.2
func SrvRouter(router igin.IRouterGroup)
Types ¶
type RouterBuilder ¶ added in v1.0.2
type RouterBuilder interface { WithPromePort(port int) RouterBuilder WithMode(mode string) RouterBuilder WithSecretKey(secretKey string) RouterBuilder WithService(service rbac.IRBACService) RouterBuilder WithAcl(acl bool) RouterBuilder WithAcs(acs bool) RouterBuilder WithLog(log bool) RouterBuilder Build() igin.Engine }
func NewRouterBuilder ¶ added in v1.0.2
func NewRouterBuilder() RouterBuilder
type RouterConfig ¶ added in v1.0.2
Directories ¶
Path | Synopsis |
---|---|
app
|
|
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. |
controllers/base_controller.go
|
controllers/base_controller.go |
service/base_service.go
|
service/base_service.go |
Click to show internal directories.
Click to hide internal directories.