admin

package
v0.0.0-...-f91bbc8 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleAdmin

func HandleAdmin(r *mux.Router) *mux.Router

HandleAdmin : setup all admin routes

func ProtectedRoute

func ProtectedRoute(next func(w http.ResponseWriter, r *http.Request)) *negroni.Negroni

ProtectedRoute : returns a JWT protected route handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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