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
Click to show internal directories.
Click to hide internal directories.