Documentation ¶
Index ¶
- Variables
- type App
- type Config
- type Controller
- func (ctrl Controller) AmazonCallback(w http.ResponseWriter, req *http.Request)
- func (ctrl Controller) Cart(w http.ResponseWriter, req *http.Request)
- func (ctrl Controller) Checkout(w http.ResponseWriter, req *http.Request)
- func (ctrl Controller) CheckoutSuccess(w http.ResponseWriter, req *http.Request)
- func (ctrl Controller) Complete(w http.ResponseWriter, req *http.Request)
- func (ctrl Controller) CompleteCreditCard(w http.ResponseWriter, req *http.Request)
- func (ctrl Controller) UpdateCart(w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var Genders = []string{"Men", "Women", "Kids"}
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Config *Config
}
App home app
func (App) ConfigureAdmin ¶
ConfigureAdmin configure admin interface
func (App) ConfigureApplication ¶
func (app App) ConfigureApplication(application *application.Application)
ConfigureApplication configure application
func (App) ConfigureOrderFollowUpsAdmin ¶
ConfigureAdmin configure admin interface
type Controller ¶
Controller products controller
func (Controller) AmazonCallback ¶
func (ctrl Controller) AmazonCallback(w http.ResponseWriter, req *http.Request)
AmazonCallback amazon callback
func (Controller) Cart ¶
func (ctrl Controller) Cart(w http.ResponseWriter, req *http.Request)
Cart shopping cart
func (Controller) Checkout ¶
func (ctrl Controller) Checkout(w http.ResponseWriter, req *http.Request)
Checkout checkout shopping cart
func (Controller) CheckoutSuccess ¶
func (ctrl Controller) CheckoutSuccess(w http.ResponseWriter, req *http.Request)
CheckoutSuccess checkout success page
func (Controller) Complete ¶
func (ctrl Controller) Complete(w http.ResponseWriter, req *http.Request)
Complete complete shopping cart
func (Controller) CompleteCreditCard ¶
func (ctrl Controller) CompleteCreditCard(w http.ResponseWriter, req *http.Request)
CompleteCreditCard complete shopping cart with credit card
func (Controller) UpdateCart ¶
func (ctrl Controller) UpdateCart(w http.ResponseWriter, req *http.Request)
UpdateCart update shopping cart
Click to show internal directories.
Click to hide internal directories.