middleware

package
v0.0.0-...-6fadc6f Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Audit

func Audit(next http.Handler) http.Handler

Audit any changes to the system

func Auth

func Auth(next http.Handler) http.Handler

Auth middleware authenticates users

func Headers

func Headers(next http.Handler) http.Handler

Headers middleware makes sure the files have proper content types.

func Init

func Init(mongostore *mongostore.MongoStore, apiclient *grpc.ClientConn)

Init gets the store pointer from main.go

func Permissions

func Permissions(next http.Handler) http.Handler

Permissions allows or denies access to routes

Types

This section is empty.

Jump to

Keyboard shortcuts

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