yxsdk

package
v0.0.0-...-c5f9841 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(p string, handler PayProvider) error

func Remove

func Remove(p string)

Types

type PayProvider

type PayProvider interface {
	Setup() error
	CreateOrderResponse(*model.Order) (interface{}, error)
	Notify(request interface{}) (*model.Trade, interface{}, error)
}

Directories

Path Synopsis
payment
yx

Jump to

Keyboard shortcuts

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