Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultMakeRouter = &MakeRouter{ funcs: []func(*gin.RouterGroup){InitRouter}, }
Functions ¶
func InitRouter ¶
func InitRouter(r *gin.RouterGroup)
Types ¶
type MakeRouter ¶
type MakeRouter struct {
// contains filtered or unexported fields
}
func (*MakeRouter) GetFunc ¶
func (m *MakeRouter) GetFunc() []func(*gin.RouterGroup)
func (*MakeRouter) MakeRouter ¶
func (m *MakeRouter) MakeRouter(r *gin.RouterGroup)
func (*MakeRouter) SetFunc ¶
func (m *MakeRouter) SetFunc(f ...func(*gin.RouterGroup))
Click to show internal directories.
Click to hide internal directories.