Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIRoutes ¶
func GetIRoutes(relativePath string, middleware ...gin.HandlerFunc) gin.IRoutes
Types ¶
type RouterConfig ¶ added in v0.1.6
type RouterConfig struct { Enable bool `mapstructure:"enable" json:"enable" yaml:"enable"` // 是否开启 LogEnable bool `mapstructure:"log_enable" json:"log_enable" yaml:"log_enable"` // }
func (RouterConfig) Load ¶ added in v0.1.6
func (rc RouterConfig) Load()
Click to show internal directories.
Click to hide internal directories.