Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToHandlerFunc ¶
func ConvertToHandlerFunc(process func(r *http.Request) (body interface{}, error *HttpServerError)) func(w http.ResponseWriter, r *http.Request)
Types ¶
type DefaultRoute ¶
type DefaultRoute interface {
Process(w http.ResponseWriter, r *http.Request)
}
type HttpServerError ¶
type NamespaceRoute ¶
Click to show internal directories.
Click to hide internal directories.