middleware

package
v0.0.0-...-aa13637 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authorize

func Authorize() gin.HandlerFunc

Authorize Parse identity info from header and check permission

func Log

func Log() gin.HandlerFunc

Log adds a few useful entries to logrus Log

func ParseParams

func ParseParams() gin.HandlerFunc

ParseParams parse a set of parameters in url and pass them to handler through gin.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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