handlers

package
v0.18.0 Latest Latest
Warning

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

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

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 GetNoscriptEventsOutboundLinks fiber.Handler
func ProvideGetNoscriptEventsOutboundLinks(
	eventStore eventstore.Service,
	sessionStorage sessionstorage.Service,
	saltManagerService saltmanager.Service,
) GetNoscriptEventsOutboundLinks

ProvideGetNoscriptEventsOutboundLinks is a wire provider for GET /api/v1/noscript/events/outbound-links 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 PostEventsFileDownloads added in v0.18.0

type PostEventsFileDownloads fiber.Handler

func ProvidePostEventsFileDownloads added in v0.18.0

func ProvidePostEventsFileDownloads(
	eventStore eventstore.Service,
	saltManagerService saltmanager.Service,
	sessionStorage sessionstorage.Service,
) PostEventsFileDownloads

ProvidePostEventsFileDownloads is a wire provider for POST /api/v1/events/file-downloads handler.

type PostEventsOutboundLinks fiber.Handler
func ProvidePostEventsOutboundLinks(
	eventStore eventstore.Service,
	saltManagerService saltmanager.Service,
	sessionStorage sessionstorage.Service,
) PostEventsOutboundLinks

ProvidePostEventsOutboundLinks is a wire provider for POST /api/v1/events/outbound-links 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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