Documentation ¶
Overview ¶
Package handlers holds our Fiber HTTP handlers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetNoscriptEventsCustom ¶ added in v0.16.0
type GetNoscriptEventsCustom fiber.Handler
func ProvideGetNoscriptEventsCustom ¶ added in v0.16.0
func ProvideGetNoscriptEventsCustom( eventStore eventstore.Service, saltManagerService saltmanager.Service, sessionStorage sessionstorage.Service, ) GetNoscriptEventsCustom
ProvideGetNoscriptEventsCustom is a wire provider for GET /api/v1/noscript/events/custom/:name handler.
type GetNoscriptEventsOutboundLink ¶
type GetNoscriptEventsOutboundLink fiber.Handler
func ProvideGetNoscriptEventsOutboundLink ¶
func ProvideGetNoscriptEventsOutboundLink( eventStore eventstore.Service, sessionStorage sessionstorage.Service, saltManagerService saltmanager.Service, ) GetNoscriptEventsOutboundLink
ProvideGetNoscriptEventsOutboundLink is a wire provider for GET /api/v1/noscript/events/outbound-link handler.
type GetNoscriptEventsPageviews ¶ added in v0.16.0
type GetNoscriptEventsPageviews fiber.Handler
func ProvideGetNoscriptEventsPageviews ¶ added in v0.16.0
func ProvideGetNoscriptEventsPageviews( logger zerolog.Logger, eventStore eventstore.Service, uaParserService uaparser.Service, ipGeolocatorService ipgeolocator.Service, saltManagerService saltmanager.Service, sessionStorage sessionstorage.Service, ) GetNoscriptEventsPageviews
ProvideGetNoscriptEventsPageview is a wire provider for GET /api/v1/noscript/events/pageview handler.
type HealhCheck ¶
type HealhCheck fiber.Handler
func ProvideHealthCheck ¶
func ProvideHealthCheck() HealhCheck
ProvideHealthCheck is a wire provider for GET healthcheck handler.
type PostEventsCustom ¶ added in v0.14.0
type PostEventsCustom fiber.Handler
func ProvidePostEventsCustom ¶ added in v0.14.0
func ProvidePostEventsCustom( eventStore eventstore.Service, saltManagerService saltmanager.Service, sessionStorage sessionstorage.Service, ) PostEventsCustom
ProvidePostEventsCustom is a wire provider for POST /api/v1/events/custom/:name handler.
type PostEventsFileDownload ¶
type PostEventsFileDownload fiber.Handler
func ProvidePostEventsFileDownload ¶
func ProvidePostEventsFileDownload( eventStore eventstore.Service, saltManagerService saltmanager.Service, sessionStorage sessionstorage.Service, ) PostEventsFileDownload
ProvidePostEventsFileDownload is a wire provider for POST /api/v1/events/file-download handler.
type PostEventsOutboundLink ¶
type PostEventsOutboundLink fiber.Handler
func ProvidePostEventsOutboundLink ¶
func ProvidePostEventsOutboundLink( eventStore eventstore.Service, saltManagerService saltmanager.Service, sessionStorage sessionstorage.Service, ) PostEventsOutboundLink
ProvidePostEventsOutboundLink is a wire provider for POST /api/v1/events/outbound-link handler.
type PostEventsPageviews ¶ added in v0.18.0
type PostEventsPageviews fiber.Handler
func ProvidePostEventsPageViews ¶
func ProvidePostEventsPageViews( logger zerolog.Logger, eventStore eventstore.Service, uaParserService uaparser.Service, ipGeolocatorService ipgeolocator.Service, saltManagerService saltmanager.Service, sessionStorage sessionstorage.Service, ) PostEventsPageviews
ProvidePostEventsPageViews is a wire provider for POST /api/v1/events/pageviews handler.