routing

package
v0.0.0-...-911e263 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Routing

type Routing struct {
	Config *config.Config
	DB     *db.DataBase
	Gin    *gin.Engine
	Logger *logger.LogBase
	// contains filtered or unexported fields
}

func NewRouting

func NewRouting(
	config *config.Config,
	db *db.DataBase,
	r *gin.Engine,
	logger *logger.LogBase,

	loginCtrl *controllers.AccessTokenController,
	jwtInteractor *middleware.JwtInteractor,
	corsInteractor *middleware.CorsInteractor,

	userCtrl *controllers.UserController,
	systemUserCtrl *controllers.SystemUserController,

) *Routing

func (*Routing) Run

func (r *Routing) Run()

func (*Routing) Setup

func (r *Routing) Setup()

Jump to

Keyboard shortcuts

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