Documentation ¶
Index ¶
- func BuildRouter(engine *igin.Engine, config *globalConf) *igin.Engine
- func ConfRouter(engine *igin.Engine, group string)
- func GenRouter(engine *igin.Engine, group string)
- func JobRouter(router *igin.Engine, group string)
- func LogRouter(engine *igin.Engine, group string)
- func NewConfig() *globalConf
- func RbacRouter(engine *igin.Engine, group string)
- func RegMaxRoutes(engine *igin.Engine)
- func RegMiddle(engine *igin.Engine, config *globalConf)
- func SrvRouter(engine *igin.Engine, group string)
- func Start(engine *igin.Engine, config *globalConf)
- type GlobalConfDTO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRouter ¶ added in v1.1.24
func ConfRouter ¶ added in v1.0.2
func RbacRouter ¶ added in v1.0.2
func RegMaxRoutes ¶ added in v1.1.34
Types ¶
type GlobalConfDTO ¶ added in v1.1.27
type GlobalConfDTO struct { Version string Mode string Acl bool Acs bool Log bool Port int Cpu int Host string ServerAddr string Static string SystemdName string ExePath string Prometheus bool Throttle bool Probe bool }
func GetGlobalConf ¶ added in v1.1.24
func GetGlobalConf() GlobalConfDTO
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 |
collector
Package collector includes all individual collectors to gather and export system metrics.
|
Package collector includes all individual collectors to gather and export system metrics. |
Click to show internal directories.
Click to hide internal directories.