router

package
v0.0.0-...-3fb8480 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

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

func NewRouter

func NewRouter(
	auth auth.Repository,
	casbinEnforcer *casbin.SyncedEnforcer,
	loginHandler handler.Login,
	menuHandler handler.Menu,
	roleHandler handler.Role,
	userHandler handler.User,
	healthHandler handler.HealthCheck,
) Router

Jump to

Keyboard shortcuts

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