funding

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Funding

type Funding struct {
	Future string `json:"future"`

	Payment float64 `json:"payment"`
	Rate    float64 `json:"rate"`

	Time time.Time `json:"time"`
	ID   int       `json:"id"`
}

type Request

type Request struct {
	ProductCode string `url:"market,omitempty"`
	Start       int64  `url:"start,omitempty"`
	End         int64  `url:"end,omitempty"`
}

func (*Request) Method

func (req *Request) Method() string

func (*Request) Path

func (req *Request) Path() string

func (*Request) Payload

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

func (*Request) Query

func (req *Request) Query() string

type Response

type Response []Funding

Jump to

Keyboard shortcuts

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