router

package
v0.0.0-...-6149473 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitBaseRouters

func InitBaseRouters()

InitBaseRouters 初始化基础模块的路由

func InitRouter

func InitRouter()

InitRouter 初始化系统路由

func InitUserRouters

func InitUserRouters()

func RegisterRoute

func RegisterRoute(fn IFnRegisterRoute)

RegisterRoute 注册路由方法

Types

type IFnRegisterRoute

type IFnRegisterRoute = func(rgPublic *gin.RouterGroup, rgAuth *gin.RouterGroup)

IFnRegisterRoute rgGroup:公共路由组 rgAuth:需要鉴权的路由组

Jump to

Keyboard shortcuts

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