Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface {
Index(w http.ResponseWriter, r *http.Request)
//ViewProducts(w http.ResponseWriter, r *http.Request)
ViewProduct(w http.ResponseWriter, r *http.Request)
AddProduct(w http.ResponseWriter, r *http.Request)
}
Handler Handler
type SiteHandler ¶
SiteHandler SiteHandler
func (*SiteHandler) AddProduct ¶
func (h *SiteHandler) AddProduct(w http.ResponseWriter, r *http.Request)
AddProduct AddProduct
func (*SiteHandler) Index ¶
func (h *SiteHandler) Index(w http.ResponseWriter, r *http.Request)
Index Index
func (*SiteHandler) ViewProduct ¶
func (h *SiteHandler) ViewProduct(w http.ResponseWriter, r *http.Request)
ViewProduct ViewProduct
Click to show internal directories.
Click to hide internal directories.