Documentation
¶
Index ¶
- type App
- func (app *App) Assets(w http.ResponseWriter, r *http.Request)
- func (app *App) GetCart(w http.ResponseWriter, r *http.Request)
- func (app *App) PagSeguroSessionID(w http.ResponseWriter, r *http.Request)
- func (app *App) UpdateCart(w http.ResponseWriter, r *http.Request)
- func (app *App) ViewPayment(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func New ¶
func New(cart cart.CartStorage, customer customer.CustomerStorage, ps pagseguro.PagSeguroService) *App
func (*App) Assets ¶
func (app *App) Assets(w http.ResponseWriter, r *http.Request)
ServeHTTP sends the file with the correct content type.
func (*App) PagSeguroSessionID ¶
func (app *App) PagSeguroSessionID(w http.ResponseWriter, r *http.Request)
func (*App) UpdateCart ¶
func (app *App) UpdateCart(w http.ResponseWriter, r *http.Request)
func (*App) ViewPayment ¶
func (app *App) ViewPayment(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.