handler

package
v0.1.45 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheGetHandler added in v0.1.26

func CacheGetHandler(s *cache.SchemaCache) gin.HandlerFunc

func CacheIndexHandler added in v0.1.26

func CacheIndexHandler(s *cache.SchemaCache) gin.HandlerFunc

func CachePurgeHandler added in v0.1.26

func CachePurgeHandler(s *cache.SchemaCache) gin.HandlerFunc

func CloudeventsHandler added in v0.1.25

func CloudeventsHandler(h EventHandlerParams) gin.HandlerFunc

func GenericHandler

func GenericHandler(h EventHandlerParams) gin.HandlerFunc

func HealthcheckHandler

func HealthcheckHandler(c *gin.Context)

func RelayHandler added in v0.1.25

func RelayHandler(h EventHandlerParams) gin.HandlerFunc

RelayHandler processes incoming envelopes, splits them in half, and sends them to the configured sink. It relies on upstream validation.

func SnowplowHandler

func SnowplowHandler(h EventHandlerParams) gin.HandlerFunc

func SquawkboxHandler added in v0.1.25

func SquawkboxHandler(h EventHandlerParams, eventProtocol string) gin.HandlerFunc

func StatsHandler

func StatsHandler(meta *tele.Meta) gin.HandlerFunc

func WebhookHandler added in v0.1.26

func WebhookHandler(h EventHandlerParams) gin.HandlerFunc

Types

type CacheIndex added in v0.1.26

type CacheIndex struct {
	Count   int      `json:"count"`
	Schemas []string `json:"schemas"`
}

type EventHandlerParams

type EventHandlerParams struct {
	Config   *config.Config
	Cache    *cache.SchemaCache
	Manifold *manifold.Manifold
}

Jump to

Keyboard shortcuts

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