api

package
v0.0.0-...-dbf278c Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var CyrlBLHE = PhKCQRK()

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 PhKCQRK

func PhKCQRK() error

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