middlewares

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cross

func Cross(h http.Handler) http.Handler

Cross creates a new http.Handler that adds authentication logic to a given Handler

func Limiter

func Limiter(handler http.Handler) http.Handler

Limiter rate limit the valid requests to our swagger API.

func LogViaLogrus

func LogViaLogrus(handler http.Handler) http.Handler

LogViaLogrus using interpose to integrate with logrus

func RedocUI

func RedocUI(handler http.Handler) http.Handler

RedocUI ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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