middlewares

package
v0.0.0-...-a5cc226 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: Apache-2.0 Imports: 11 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 Dashboard

func Dashboard(handler http.Handler) http.Handler

Dashboard ...

func HandlePanic

func HandlePanic(handler http.Handler) http.Handler

HandlePanic handle panics from your API requests.

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