apitally

package module
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewConfig = common.NewConfig

NewConfig creates a new Apitally configuration with sensible defaults.

See reference: https://docs.apitally.io/reference/go

Functions

func CaptureValidationError

func CaptureValidationError(c echo.Context, err error)

func Middleware

func Middleware(e *echo.Echo, config *Config) echo.MiddlewareFunc

Middleware returns the Apitally middleware for Echo.

For more information, see:

func SetConsumer

func SetConsumer(c echo.Context, consumer common.Consumer)

func SetConsumerIdentifier

func SetConsumerIdentifier(c echo.Context, consumerIdentifier string)

Types

type Config

type Config = common.Config

type Consumer

type Consumer = common.Consumer

type Request

type Request = common.Request

type RequestLoggingConfig

type RequestLoggingConfig = common.RequestLoggingConfig

type Response

type Response = common.Response

Jump to

Keyboard shortcuts

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