Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router interface { GET(uri string, f func(w http.ResponseWriter, r *http.Request)) POST(uri string, f func(w http.ResponseWriter, r *http.Request)) DELETE(uri string, f func(w http.ResponseWriter, r *http.Request)) SERVE(port string) }
func NewChiRouter ¶
func NewChiRouter() Router
Click to show internal directories.
Click to hide internal directories.