coinbase

package
v0.0.0-...-dd062b7 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoinbaseData

type CoinbaseData struct {
	Order *CoinbaseDataOrder `json:"order"`
}

type CoinbaseDataNative

type CoinbaseDataNative struct {
	Cents       float64 `json:"cents"`
	CurrencyIso string  `json:"currency_iso"`
}

type CoinbaseDataOrder

type CoinbaseDataOrder struct {
	Id          string               `json:"id"`
	Status      string               `json:"status"`
	TotalNative *CoinbaseDataNative  `json:"total_native"`
	Custom      string               `json:"custom"`
	Transaction *CoinbaseTransaction `json:"transaction"`
}

type CoinbaseMispaidEmail

type CoinbaseMispaidEmail struct {
	OrderId string
}

type CoinbasePayment

type CoinbasePayment struct {
	// contains filtered or unexported fields
}

func MakeCoinbasePayment

func MakeCoinbasePayment(callbackSecret string, apiKey string, apiSecret string) *CoinbasePayment

func (*CoinbasePayment) Payment

func (this *CoinbasePayment) Payment(w http.ResponseWriter, r *http.Request, frameParams lobster.FrameParams, userId int, username string, amount float64)

type CoinbaseTransaction

type CoinbaseTransaction struct {
	Id string `json:"id"`
}

Jump to

Keyboard shortcuts

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