middlewares

package
v0.0.0-...-5f6e6a3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Routes utils.Routes

Routes from main

Functions

func GetAllRoutes

func GetAllRoutes(w http.ResponseWriter, r *http.Request)

GetAllRoutes return all routes in the app

func JaeggerLogger

func JaeggerLogger(next http.Handler) http.Handler

func JwtAuthentication

func JwtAuthentication(next http.Handler) http.Handler

JwtAuthentication jwt auth checker handler -> set token for user

func RecoverWrap

func RecoverWrap(h http.Handler) http.Handler

RecoverWrap to send log about the crash

Types

This section is empty.

Jump to

Keyboard shortcuts

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