request

package
v0.0.0-...-abc9c84 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 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 AlterTradeOrder

type AlterTradeOrder struct {
	CreateOrder
	OrderID    int64  `json:"orderId"`
	ExternalID string `json:"externalId"`
}

func (AlterTradeOrder) MarshalEasyJSON

func (v AlterTradeOrder) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (AlterTradeOrder) MarshalJSON

func (v AlterTradeOrder) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*AlterTradeOrder) UnmarshalEasyJSON

func (v *AlterTradeOrder) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AlterTradeOrder) UnmarshalJSON

func (v *AlterTradeOrder) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Auth

type Auth struct {
	ID       string `json:"id"`
	Type     string `json:"type"`
	APIKey   string `json:"apiKey"`
	Password string `json:"password"`
}

func (Auth) MarshalEasyJSON

func (v Auth) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Auth) MarshalJSON

func (v Auth) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Auth) UnmarshalEasyJSON

func (v *Auth) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Auth) UnmarshalJSON

func (v *Auth) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type CancelOrder

type CancelOrder struct {
	ID      string `json:"id"`
	Type    string `json:"type"`
	OrderID int64  `json:"order_id"`
}

func (CancelOrder) MarshalEasyJSON

func (v CancelOrder) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (CancelOrder) MarshalJSON

func (v CancelOrder) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*CancelOrder) UnmarshalEasyJSON

func (v *CancelOrder) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*CancelOrder) UnmarshalJSON

func (v *CancelOrder) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type CreateOrder

type CreateOrder struct {
	ID         string             `json:"id"`
	Type       string             `json:"type"`
	Fields     *CreateOrderFields `json:"fields"`
	ExternalID string             `json:"externalId,omitempty"`
}

func (CreateOrder) MarshalEasyJSON

func (v CreateOrder) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (CreateOrder) MarshalJSON

func (v CreateOrder) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*CreateOrder) UnmarshalEasyJSON

func (v *CreateOrder) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*CreateOrder) UnmarshalJSON

func (v *CreateOrder) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type CreateOrderFields

type CreateOrderFields struct {
	Pair          string `json:"pair"`
	OrderedVolume string `json:"ordered_volume"`
	LimitPrice    string `json:"limit_price,omitempty"`
	TradeIntent   int    `json:"trade_intent"`
	Modifier      int    `json:"modifier,omitempty"`
}

func (CreateOrderFields) MarshalEasyJSON

func (v CreateOrderFields) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (CreateOrderFields) MarshalJSON

func (v CreateOrderFields) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*CreateOrderFields) UnmarshalEasyJSON

func (v *CreateOrderFields) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*CreateOrderFields) UnmarshalJSON

func (v *CreateOrderFields) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetBalance

type GetBalance struct {
	ID   string `json:"id"`
	Type string `json:"type"`
}

func (GetBalance) MarshalEasyJSON

func (v GetBalance) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetBalance) MarshalJSON

func (v GetBalance) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetBalance) UnmarshalEasyJSON

func (v *GetBalance) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetBalance) UnmarshalJSON

func (v *GetBalance) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetOrder

type GetOrder struct {
	ID         string `json:"id"`
	Type       string `json:"type"`
	OrderID    int64  `json:"orderId,omitempty"`
	ExternalID string `json:"externalId,omitempty"`
}

func (GetOrder) MarshalEasyJSON

func (v GetOrder) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetOrder) MarshalJSON

func (v GetOrder) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetOrder) UnmarshalEasyJSON

func (v *GetOrder) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetOrder) UnmarshalJSON

func (v *GetOrder) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetOrderBookAndSubscribe

type GetOrderBookAndSubscribe struct {
	ID   string `json:"id"`
	Type string `json:"type"`
	Pair string `json:"pair"`
}

func (GetOrderBookAndSubscribe) MarshalEasyJSON

func (v GetOrderBookAndSubscribe) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetOrderBookAndSubscribe) MarshalJSON

func (v GetOrderBookAndSubscribe) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetOrderBookAndSubscribe) UnmarshalEasyJSON

func (v *GetOrderBookAndSubscribe) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetOrderBookAndSubscribe) UnmarshalJSON

func (v *GetOrderBookAndSubscribe) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetPairsAndSubscribe

type GetPairsAndSubscribe struct {
	ID   string `json:"id"`
	Type string `json:"type"`
}

func (GetPairsAndSubscribe) MarshalEasyJSON

func (v GetPairsAndSubscribe) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetPairsAndSubscribe) MarshalJSON

func (v GetPairsAndSubscribe) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetPairsAndSubscribe) UnmarshalEasyJSON

func (v *GetPairsAndSubscribe) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetPairsAndSubscribe) UnmarshalJSON

func (v *GetPairsAndSubscribe) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetUsersOpenOrders

type GetUsersOpenOrders struct {
	ID   string `json:"id"`
	Type string `json:"type"`
	Pair string `json:"pair"`
}

func (GetUsersOpenOrders) MarshalEasyJSON

func (v GetUsersOpenOrders) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetUsersOpenOrders) MarshalJSON

func (v GetUsersOpenOrders) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetUsersOpenOrders) UnmarshalEasyJSON

func (v *GetUsersOpenOrders) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetUsersOpenOrders) UnmarshalJSON

func (v *GetUsersOpenOrders) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Msg

type Msg struct {
	Type    int
	Payload []byte
}

type SubscribeAccounting

type SubscribeAccounting struct {
	ID           string `json:"id"`
	Type         string `json:"type"`
	IncludeDeals bool   `json:"includeDeals"`
}

func (SubscribeAccounting) MarshalEasyJSON

func (v SubscribeAccounting) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SubscribeAccounting) MarshalJSON

func (v SubscribeAccounting) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SubscribeAccounting) UnmarshalEasyJSON

func (v *SubscribeAccounting) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SubscribeAccounting) UnmarshalJSON

func (v *SubscribeAccounting) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Jump to

Keyboard shortcuts

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