handler

package
v0.11.11 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const PX string = "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8Xw8AAoMBgDTD2qgAAAAASUVORK5CYII="

Variables

This section is empty.

Functions

func CacheGetHandler

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

func CacheIndexHandler

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

func CachePurgeHandler

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

func CloudeventsHandler

func CloudeventsHandler(h params.Handler) gin.HandlerFunc

func ConfigOverviewHandler

func ConfigOverviewHandler(conf config.Config) gin.HandlerFunc

func GenericHandler

func GenericHandler(h params.Handler) gin.HandlerFunc

func HealthcheckHandler

func HealthcheckHandler(c *gin.Context)

func PixelHandler

func PixelHandler(h params.Handler) gin.HandlerFunc

func RouteOverviewHandler

func RouteOverviewHandler(conf config.Config) gin.HandlerFunc

func SnowplowHandler

func SnowplowHandler(h params.Handler) gin.HandlerFunc

func SquawkboxHandler

func SquawkboxHandler(h params.Handler, eventProtocol string) gin.HandlerFunc

func WebhookHandler

func WebhookHandler(h params.Handler) gin.HandlerFunc

Types

type CacheIndex

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

type RoutesResponse

type RoutesResponse struct {
	HealthPath                   string `json:"healthPath"`
	StatsPath                    string `json:"statsPath"`
	RouteOverviewPath            string `json:"routeOverviewPath"`
	ConfigOverviewPath           string `json:"configOverviewPath"`
	CloudeventsPath              string `json:"cloudeventsPath"`
	GenericPath                  string `json:"genericPath"`
	WebhookPath                  string `json:"webhookPath"`
	PixelPath                    string `json:"pixelPath"`
	SnowplowStandardGetPath      string `json:"snowplowStandardGetPath"`
	SnowplowGetPath              string `json:"snowplowGetPath"`
	SnowplowStandardPostPath     string `json:"snowplowStandardPostPath"`
	SnowplowPostPath             string `json:"snowplowPostPath"`
	SnowplowStandardRedirectPath string `json:"snowplowStandardRedirectPath"`
	SnowplowRedirectPath         string `json:"snowplowRedirectPath"`
}

type StatsResponse

type StatsResponse struct {
	CollectorMeta *meta.CollectorMeta  `json:"collectorMeta"`
	Stats         *stats.ProtocolStats `json:"stats"`
}

Jump to

Keyboard shortcuts

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