responses

package
v5.0.0-...-84a6732 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RestBasic

type RestBasic struct {
	Code int    `json:"code,string"`
	Msg  string `json:"msg,omitempty"`
}

type WsArgument

type WsArgument struct {
	// contains filtered or unexported fields
}

func (*WsArgument) Get

func (a *WsArgument) Get(k string) (interface{}, bool)

func (*WsArgument) UnmarshalJSON

func (a *WsArgument) UnmarshalJSON(buf []byte) error

type WsBasicEvent

type WsBasicEvent struct {
	Event string         `json:"event"`
	Code  int            `json:"code,omitempty,string"`
	Msg   string         `json:"msg,omitempty"`
	Op    okex.Operation `json:"op,omitempty"`
	Arg   *WsArgument    `json:"arg,omitempty"`
	Args  []*WsArgument  `json:"args,omitempty"`
	Data  []*WsArgument  `json:"data,omitempty"`
}

type WsError

type WsError struct {
	Event string `json:"event"`
	Code  string `json:"code"`
	Msg   string `json:"msg"`
}

type WsSubscribe

type WsSubscribe struct {
	Event string      `json:"event"`
	Arg   *WsArgument `json:"arg"`
}

type WsUnsubscribe

type WsUnsubscribe struct {
	Event string      `json:"event"`
	Arg   *WsArgument `json:"arg"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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