routes

package
v0.0.0-...-8d32343 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module(
	"routes",
	fx.Provide(NewUserRouter),
	fx.Provide(NewRoutes),
)

Functions

This section is empty.

Types

type Router

type Router interface {
	Setup()
}

type Routes

type Routes []Router

func NewRoutes

func NewRoutes(userRouter UserRouter) Routes

func (Routes) Setup

func (r Routes) Setup()

type UserRouter

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

func NewUserRouter

func NewUserRouter(handler lib.HttpHandler, controller controllers.UserController) UserRouter

func (UserRouter) Setup

func (r UserRouter) Setup()

Jump to

Keyboard shortcuts

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