api

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func MapRequestTimeoutToResponseCode added in v0.2.0

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 added in v0.2.0

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