routes

package
v0.0.0-...-42acfb7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RouteSet = wire.NewSet(
	gin.New,
	middleware.NewMiddleware,
	handler.NewRootHandle,
	handler.NewDemoHandle,

	wire.Struct(new(Routes),
		"Engine",
		"Middleware",
		"RootHandle",
		"DemoHandle",
	),
)

Functions

This section is empty.

Types

type Routes

type Routes struct {
	Engine     *gin.Engine
	Middleware middleware.Middlewarer
	RootHandle handler.RootHandler
	DemoHandle handler.DemoHandler
}

func (*Routes) Init

func (r *Routes) Init()

Jump to

Keyboard shortcuts

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