controllers

package
v0.0.0-...-6d4792c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL