Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorHandler ¶
type ErrorHandler fiber.Handler
func ProvideErrorHandler ¶
func ProvideErrorHandler() ErrorHandler
ProvideErrorHandler is a wire provider for a simple error handler middleware.
type EventsCors ¶
type EventsCors fiber.Handler
Cors middleware for /events handlers.
func ProvideEventsCors ¶
func ProvideEventsCors() EventsCors
ProvideEventsCors is a wire provider for /events cors middleware.
type EventsRateLimiter ¶
type EventsRateLimiter fiber.Handler
func ProvideEventsRateLimiter ¶
func ProvideEventsRateLimiter(cfg config.Server, storage storage.Storage) EventsRateLimiter
ProvideEventsRateLimiter is a wire provider for events endpoints rate limiter.
type Metrics ¶ added in v0.15.0
type Metrics fiber.Handler
func ProvideMetrics ¶ added in v0.15.0
func ProvideMetrics(promRegistry *prometheus.Registry) Metrics
ProvideMetrics is a wire provider for HTTP metrics middleware.
type NonRegisteredOriginFilter ¶ added in v0.14.0
type NonRegisteredOriginFilter fiber.Handler
func ProvideNonRegisteredOriginFilter ¶ added in v0.14.0
func ProvideNonRegisteredOriginFilter(originRegistry originregistry.Service) NonRegisteredOriginFilter
ProvideNonRegisteredOriginFilter is wire provider for middleware that filter request with non registered origins.
type RequestId ¶
type RequestId fiber.Handler
func ProvideRequestId ¶
ProvideRequestId define a wire provider for request id middleware.
type RequestIdKey ¶
type RequestIdKey struct{}
Click to show internal directories.
Click to hide internal directories.