http

package
v0.0.0-...-c16b6a5 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const HeaderRetryAfter = "Retry-After"
View Source
const ValueRetryAfter = "1"

Variables

This section is empty.

Functions

This section is empty.

Types

type CookieHandler

type CookieHandler interface {
	Handle(ctx *gin.Context)
}

func NewCookieHandler

func NewCookieHandler(cfg config.CookieConfig) CookieHandler

type Handler

type Handler interface {
	GetEventAttributeTypes(ctx *gin.Context)
	GetEventAttributeValuesByName(ctx *gin.Context)
	GetPublishRate(ctx *gin.Context)
	GetReadStatus(ctx *gin.Context)
	GetPublishersCount(ctx *gin.Context)
	GetFollowersCount(ctx *gin.Context)
	GetCoreDuration(ctx *gin.Context)
	GetTopInterests(ctx *gin.Context)
}

func NewHandler

func NewHandler(svcMetrics service.Service, clientSubs interests.ServiceClient, groupIdsDefault []string) Handler

Jump to

Keyboard shortcuts

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