api

package
v0.0.0-...-c7651eb Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueueHandler

func NewQueueHandler(redisC *redis.Client, config *waitingroom.Config, cache *waitingroom.Cache) *queueHandler

func NewWhiteListHandler

func NewWhiteListHandler(redisC *redis.Client) *whiteListHandler

func QueuesEndpoints

func QueuesEndpoints(g *echo.Group, redisC *redis.Client, config *waitingroom.Config, cache *waitingroom.Cache)

func VironEndpoints

func VironEndpoints(g *echo.Group)

func WhiteListEndpoints

func WhiteListEndpoints(g *echo.Group, redisC *redis.Client)

Types

type HTTPError

type HTTPError struct {
	Code     int         `json:"-"`
	Message  interface{} `json:"message"`
	Internal error       `json:"-"` // Stores the error returned by an external dependency
}

Jump to

Keyboard shortcuts

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