types

package
v0.0.0-...-f828163 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RouteParams

type RouteParams struct {
	Router            fiber.Router
	AuthMiddleware    authMiddleware.AuthMiddlewareService
	UtilityMiddleware utilityMiddleware.Service
	ServiceParams     ServiceParams
}

func NewRouteParams

func NewRouteParams(router fiber.Router, authMiddleware authMiddleware.AuthMiddlewareService, utilityMiddleware utilityMiddleware.Service, serviceParams ServiceParams) RouteParams

type ServiceParams

type ServiceParams struct {
	DB           *gorm.DB
	Validate     *validator.Validate
	Calendar     *config.CalendarSettings
	Stores       *store.Stores
	Integrations integrations.Integrations
}

func NewServiceParams

func NewServiceParams(db *gorm.DB, validate *validator.Validate, calendar *config.CalendarSettings, stores *store.Stores, integrations integrations.Integrations) ServiceParams

Jump to

Keyboard shortcuts

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