funding

package
v0.0.0-...-8b1e69d Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: MIT Imports: 3 Imported by: 9

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:"future,omitempty"`
	Start       int64  `url:"start_time,omitempty"`
	End         int64  `url:"end_time,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