helper

package
v1.8.21 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

type Router interface {
	//HandleFunc see github.com/gorilla/mux.Router.HandleFunc
	HandleFunc(path string, f func(http.ResponseWriter, *http.Request)) *mux.Route
	//ServeHTTP see github.com/gorilla/mux.Router.ServeHTTP
	ServeHTTP(http.ResponseWriter, *http.Request)
}

Router represents the functionality needed by the REST router

Jump to

Keyboard shortcuts

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