Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIHandler ¶
type APIHandler struct {
// contains filtered or unexported fields
}
func (*APIHandler) Route ¶
func (h *APIHandler) Route(r Router)
func (*APIHandler) Version ¶
func (h *APIHandler) Version(w http.ResponseWriter, r *http.Request)
type RouteHandler ¶
type RouteHandler interface {
Route(r Router)
}
type Router ¶
type Router interface {
MethodFunc(method, pattern string, h http.HandlerFunc)
}
Click to show internal directories.
Click to hide internal directories.