Documentation
¶
Index ¶
- type CartController
- type OrderController
- type PayController
- func (controller *PayController) InitPayAction(r http.ResponseWriter, req *http.Request)
- func (controller *PayController) OneClickPayAction(r http.ResponseWriter, req *http.Request)
- func (controller *PayController) PayProcess(r http.ResponseWriter, req *http.Request)
- func (controller *PayController) RefundAction(r http.ResponseWriter, req *http.Request)
- type ProductController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CartController ¶
type CartController struct { interfaces.ICartService *renderer.Render }
func (*CartController) AddToCart ¶
func (controller *CartController) AddToCart(r http.ResponseWriter, req *http.Request)
func (*CartController) Cart ¶
func (controller *CartController) Cart(r http.ResponseWriter, req *http.Request)
type OrderController ¶
type OrderController struct { interfaces.ICartService *renderer.Render interfaces.IOrderService }
func (*OrderController) NewOrder ¶
func (controller *OrderController) NewOrder(r http.ResponseWriter, req *http.Request)
func (*OrderController) OrdersList ¶
func (controller *OrderController) OrdersList(r http.ResponseWriter, req *http.Request)
type PayController ¶
type PayController struct { *renderer.Render interfaces.IPayHandler }
func (*PayController) InitPayAction ¶
func (controller *PayController) InitPayAction(r http.ResponseWriter, req *http.Request)
func (*PayController) OneClickPayAction ¶
func (controller *PayController) OneClickPayAction(r http.ResponseWriter, req *http.Request)
func (*PayController) PayProcess ¶
func (controller *PayController) PayProcess(r http.ResponseWriter, req *http.Request)
func (*PayController) RefundAction ¶
func (controller *PayController) RefundAction(r http.ResponseWriter, req *http.Request)
type ProductController ¶
type ProductController struct { interfaces.IProductService *renderer.Render }
func (*ProductController) Index ¶
func (controller *ProductController) Index(r http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.