Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetItemWithIdHandler ¶
func GetItemWithIdHandler(w http.ResponseWriter, r *http.Request)
GetItemWithIdHandler returns item with specified id
func GetItemsHandler ¶
func GetItemsHandler(w http.ResponseWriter, r *http.Request)
GetItemsHandler returns a static list of items, no query params required
func GetWithQueryParamsHandler ¶
func GetWithQueryParamsHandler(w http.ResponseWriter, r *http.Request)
GetWithQueryParamsHandler returns query-based filtered list of items
func WelcomeHandler ¶
func WelcomeHandler(w http.ResponseWriter, r *http.Request)
WelcomeHandler returns welcome message for home URL
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.