router

package
v0.4.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 8 Imported by: 0

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))

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL