handlers

package
v0.18.0-beta05 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 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 GetNoscriptEventsOutboundLink fiber.Handler
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 fiber.Handler
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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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