api

package
v0.0.0-...-b6af633 Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PurchaseHandler

type PurchaseHandler struct {
	handler.Option
}

func NewPurchaseHandler

func NewPurchaseHandler(opt handler.Option) *PurchaseHandler

func (*PurchaseHandler) Submit

func (p *PurchaseHandler) Submit(c echo.Context) (err error)

type SubmitPurchaseRequest

type SubmitPurchaseRequest struct {
	Item  string `json:"item"`
	Price uint64 `json:"price"`
}

Jump to

Keyboard shortcuts

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