routes

package
v0.0.0-...-30a190e Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: MIT Imports: 40 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 struct {
	// contains filtered or unexported fields
}

func NewRouter

func NewRouter(p RouterParams) *Router

func (*Router) Setup

func (r *Router) Setup()

type RouterParams

type RouterParams struct {
	fx.In

	// Config
	Config *config.Manager

	// Logger
	Logger *logger.Logger

	// Server
	Server *server.Server

	// Redis
	Redis *redis.Client

	// Services
	AuthService *auth.Service

	// Handlers
	OrganizationHandler          *organizationHandler.Handler
	StateHandler                 *usstate.Handler
	ErrorHandler                 *validator.ErrorHandler
	AuthHandler                  *authHandler.Handler
	UserHandler                  *user.Handler
	SessionHandler               *session.Handler
	SearchHandler                *search.Handler
	WorkerHandler                *worker.Handler
	TableConfigurationHandler    *tableconfiguration.Handler
	FleetCodeHandler             *fleetcode.Handler
	DocumentQualityConfigHandler *documentqualityconfig.Handler
	EquipmentTypeHandler         *equipmenttype.Handler
	EquipmentManufacturerHandler *equipmentmanufacturer.Handler
	ShipmentTypeHandler          *shipmenttype.Handler
	ServiceTypeHandler           *servicetype.Handler
	HazardousMaterialHandler     *hazardousmaterial.Handler
	CommodityHandler             *commodity.Handler
	LocationCategoryHandler      *locationcategory.Handler
	ReportingHandler             *reporting.Handler
	LocationHandler              *location.Handler
	TractorHandler               *tractor.Handler
	TrailerHandler               *trailer.Handler
	CustomerHandler              *customer.Handler
}

Jump to

Keyboard shortcuts

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