quotes

package
v0.0.0-...-0be54c2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 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 RequestForAcceptQuote

type RequestForAcceptQuote struct {
	QuoteId int `json:"quoteId"`
}

func (*RequestForAcceptQuote) Method

func (req *RequestForAcceptQuote) Method() string

func (*RequestForAcceptQuote) Path

func (req *RequestForAcceptQuote) Path() string

func (*RequestForAcceptQuote) Payload

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

func (*RequestForAcceptQuote) Query

func (req *RequestForAcceptQuote) Query() string

type RequestForCreateQuote

type RequestForCreateQuote struct {
	FromCoin string  `json:"fromCoin"`
	ToCoin   string  `json:"toCoin"`
	Size     float64 `json:"size"`
}

func (*RequestForCreateQuote) Method

func (req *RequestForCreateQuote) Method() string

func (*RequestForCreateQuote) Path

func (req *RequestForCreateQuote) Path() string

func (*RequestForCreateQuote) Payload

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

func (*RequestForCreateQuote) Query

func (req *RequestForCreateQuote) Query() string

type RequestForQuoteStatus

type RequestForQuoteStatus struct {
	QuoteId int `json:"quoteId"`
}

func (*RequestForQuoteStatus) Method

func (req *RequestForQuoteStatus) Method() string

func (*RequestForQuoteStatus) Path

func (req *RequestForQuoteStatus) Path() string

func (*RequestForQuoteStatus) Payload

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

func (*RequestForQuoteStatus) Query

func (req *RequestForQuoteStatus) Query() string

type ResponseForAcceptQuote

type ResponseForAcceptQuote struct{}

type ResponseForCreateQuote

type ResponseForCreateQuote struct {
	QuoteId int `json:"quoteId"`
}

type ResponseForQuoteStatus

type ResponseForQuoteStatus struct {
	BaseCoin  string  `json:"baseCoin"`
	Cost      float64 `json:"cost"`
	Expired   bool    `json:"expired"`
	Expiry    float64 `json:"expiry"`
	Filled    bool    `json:"filled"`
	FromCoin  string  `json:"fromCoin"`
	Id        int     `json:"id"`
	Price     float64 `json:"price"`
	Proceeds  float64 `json:"proceeds"`
	QuoteCoin string  `json:"quoteCoin"`
	Side      string  `json:"side"`
	ToCoin    string  `json:"toCoin"`
}

Jump to

Keyboard shortcuts

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