Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllWidgets []Widget
Functions ¶
func GetWidget ¶
func GetWidget(w http.ResponseWriter, req *http.Request)
GetWidget retrieves a single Widget
func GetWidgets ¶
func GetWidgets(w http.ResponseWriter, req *http.Request)
GetWidgets retrieves the collection of Widgets
func PostWidget ¶
func PostWidget(w http.ResponseWriter, req *http.Request)
PostWidget adds a Widget to the collection
Types ¶
Click to show internal directories.
Click to hide internal directories.