Documentation
¶
Index ¶
- Variables
- func CaptureValidationError(c echo.Context, err error)
- func Middleware(e *echo.Echo, config *Config) echo.MiddlewareFunc
- func SetConsumer(c echo.Context, consumer common.Consumer)
- func SetConsumerIdentifier(c echo.Context, consumerIdentifier string)
- type Config
- type Consumer
- type Request
- type RequestLoggingConfig
- type Response
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 Middleware ¶
func Middleware(e *echo.Echo, config *Config) echo.MiddlewareFunc
Middleware returns the Apitally middleware for Echo.
For more information, see:
- Setup guide: https://docs.apitally.io/frameworks/echo
- Reference: https://docs.apitally.io/reference/go
func SetConsumerIdentifier ¶
Types ¶
type RequestLoggingConfig ¶
type RequestLoggingConfig = common.RequestLoggingConfig
Click to show internal directories.
Click to hide internal directories.