api

package
v0.0.0-...-37e272d Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2025 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
v1
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