Documentation
¶
Index ¶
- func ApplyExternalMiddleware(c *frameworkbootstrap.Container, e *echo.Group, logger *slog.Logger, ...)
- func ApplyMainMiddleware(c *frameworkbootstrap.Container, g *echo.Group, logger *slog.Logger, ...)
- func ApplyTLSRedirect(groups ...*echo.Group)
- func RegisterStaticRoutes(c *frameworkbootstrap.Container) error
- type RouteDeps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyExternalMiddleware ¶
func ApplyMainMiddleware ¶
func ApplyMainMiddleware(c *frameworkbootstrap.Container, g *echo.Group, logger *slog.Logger, deps *RouteDeps, webFeatures runtimeplan.WebFeatures)
func ApplyTLSRedirect ¶
func RegisterStaticRoutes ¶
func RegisterStaticRoutes(c *frameworkbootstrap.Container) error
Types ¶
type RouteDeps ¶
type RouteDeps struct {
StorageRepo *storagerepo.StorageClient
SubscriptionsRepo *paidsubscriptions.Service
NotifierService *notifications.NotifierService
NotificationPermissionService *notifications.NotificationPermissionService
PwaPushService *notifications.PwaPushService
FcmPushService *notifications.FcmPushService
SMSSenderService *notifications.SMSSender
StripeWebhookPath string
}
func NewRouteDeps ¶
func NewRouteDeps( c *frameworkbootstrap.Container, paidSubscriptions *paidsubscriptions.Service, notificationServices *notifications.Services, ) (*RouteDeps, error)
Click to show internal directories.
Click to hide internal directories.