middleware

package
v1.1.0-rc2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Otel

func Otel() echo.MiddlewareFunc

func PathMatchSkipper

func PathMatchSkipper(paths []string) echomiddelware.Skipper

func RequestLogger

func RequestLogger(logger zerolog.Logger, logLevel zerolog.Level) echo.MiddlewareFunc

func SetContentType

func SetContentType(contentType string) echo.MiddlewareFunc

SetContentType returns a middleware which sets the response content type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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