router

package
v0.0.0-...-72605ad Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Init = fx.Options(
	fx.Provide(
		NewRouter,
	),
)

Functions

func HealthRoute

func HealthRoute() chi.Router

Types

type Config

type Config struct {
	fx.In

	PusoHandler *handler.PusoHandler
}

type Router

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

func NewRouter

func NewRouter(config Config) *Router

func (*Router) PusoRouter

func (o *Router) PusoRouter() chi.Router

func (*Router) Route

func (o *Router) Route() chi.Router

type RouterRepo

type RouterRepo interface {
	Route() chi.Router
}

Jump to

Keyboard shortcuts

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