router

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type IRouter

type IRouter interface {
	Register(app *gin.Engine) error
	Prefixes() []string
}

type Router

type Router struct {

} // end

func (*Router) Prefixes

func (a *Router) Prefixes() []string

func (*Router) Register

func (a *Router) Register(app *gin.Engine) error

func (*Router) RegisterAPI

func (a *Router) RegisterAPI(app *gin.Engine)

RegisterAPI register api group router

func (*Router) RegisterPage

func (a *Router) RegisterPage(app *gin.Engine)

RegisterPage register page group router

Jump to

Keyboard shortcuts

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