api

package
v0.0.0-...-d5421df Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RateLimitRequestsPerSecond = 20
	DefaultTimeoutSeconds      = 20
	DefaultMaxRequestBodySize  = "64KB"
)

Variables

This section is empty.

Functions

func MapRequestTimeoutToResponseCode

func MapRequestTimeoutToResponseCode(targetCode int) echo.MiddlewareFunc

func New

func New(ctx context.Context, config *config.Config) http.Handler

New generates the api used in the HTTP Server.

func RequestContextTimeout

func RequestContextTimeout(timeout time.Duration) echo.MiddlewareFunc

Types

This section is empty.

Directories

Path Synopsis
REST
Package REST provides primitives to interact with the openapi HTTP API.
Package REST provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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