coinouts

package
v0.0.0-...-81d47fe Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoinOut

type CoinOut struct {
	ID            int                `json:"id"`
	OrderID       string             `json:"order_id"`
	CurrencyCode  types.CurrencyCode `json:"currency_code"`
	Amount        float64            `json:"amount"`
	Address       string             `json:"address"`
	TxHash        string             `json:"tx_hash"`
	Fee           float64            `json:"fee"`
	AdditionalFee float64            `json:"additional_fee"`
	Status        Status             `json:"status"`
	EventDate     time.BitFlyerTime  `json:"event_date"`
}

type Request

type Request struct {
	Count  int `url:"count,omitempty"`
	Before int `url:"before,omitempty"`
	After  int `url:"after,omitempty"`
}

func (*Request) Endpoint

func (req *Request) Endpoint() string

func (*Request) Method

func (req *Request) Method() string

func (*Request) Payload

func (req *Request) Payload() []byte

func (*Request) Query

func (req *Request) Query() string

type Response

type Response []CoinOut

type Status

type Status string
const (
	PENDING   Status = "PENDING"
	COMPLETED Status = "COMPLETED"
)

Jump to

Keyboard shortcuts

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