router

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CORS

func CORS(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)

CORS ...

func LimitHandler

func LimitHandler() negroni.HandlerFunc

LimitHandler ...

func Secure

func Secure(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)

Secure ...

Types

type Router

type Router struct {
	// contains filtered or unexported fields
}

Router

func New

func New() *Router

func (*Router) ServeHTTP

func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request)

ServeHTTP

Jump to

Keyboard shortcuts

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