Documentation ¶
Overview ¶
Package controllers define all the controllers
Index ¶
- Variables
- func GetUsers() []string
- func Login(w http.ResponseWriter, r *http.Request)
- func ShowBeads(w http.ResponseWriter, r *http.Request)
- func ShowBox(w http.ResponseWriter, r *http.Request)
- func ShowCustomers(w http.ResponseWriter, r *http.Request)
- func ShowDashboard(w http.ResponseWriter, r *http.Request)
- func ShowLogin(w http.ResponseWriter, r *http.Request)
- func ShowProducts(w http.ResponseWriter, r *http.Request)
- func ShowQuickSale(w http.ResponseWriter, r *http.Request)
- func ShowStatics(w http.ResponseWriter, r *http.Request)
- func ShowUsers(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // TemplateData closure variable to call in each show function TemplateData func(string) map[string]interface{} = templateData() )
Functions ¶
func ShowBeads ¶
func ShowBeads(w http.ResponseWriter, r *http.Request)
ShowBeads Executes Beads template
func ShowCustomers ¶
func ShowCustomers(w http.ResponseWriter, r *http.Request)
ShowCustomers Executes customers template
func ShowDashboard ¶
func ShowDashboard(w http.ResponseWriter, r *http.Request)
ShowDashboard Executes a dashboard template
func ShowLogin ¶
func ShowLogin(w http.ResponseWriter, r *http.Request)
ShowLogin Executes login template
func ShowProducts ¶
func ShowProducts(w http.ResponseWriter, r *http.Request)
ShowProducts Executes products template
func ShowQuickSale ¶
func ShowQuickSale(w http.ResponseWriter, r *http.Request)
ShowQuickSale Executes quick sale template
func ShowStatics ¶
func ShowStatics(w http.ResponseWriter, r *http.Request)
ShowStatics Executes statics template
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.