router

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RouterProviderSet = wire.NewSet(
	wire.Bind(new(RouterInterface), new(*Router)),
	NewRouter,
)

Functions

This section is empty.

Types

type Router

type Router struct {
	// contains filtered or unexported fields
}

func NewRouter

func NewRouter(
	userRouter controller.UserController,
	roleRouter controller.RoleController,
	apiRouter controller.ApiController,
	middleware middleware.MiddlewareInterface) *Router

func (*Router) RegisterRouter

func (r *Router) RegisterRouter(engine *gin.Engine)

type RouterInterface

type RouterInterface interface {
	RegisterRouter(engine *gin.Engine)
}

Jump to

Keyboard shortcuts

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