Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SampleRoute ¶
func SampleRoute(res http.ResponseWriter, req *http.Request)
SampleRoute Sample route that simply responds back with Hello World
Types ¶
type Route ¶
type Route interface { Get(res http.ResponseWriter, req *http.Request) Post(res http.ResponseWriter, req *http.Request) Put(res http.ResponseWriter, req *http.Request) Delete(res http.ResponseWriter, req *http.Request) }
Click to show internal directories.
Click to hide internal directories.