base

package
v0.0.0-...-6bcf364 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebSocketResponseBase

type WebSocketResponseBase struct {
	Status    string `json:"status"`
	Channel   string `json:"ch"`
	Timestamp int64  `json:"ts"`
}

type WebSocketV2ResponseBase

type WebSocketV2ResponseBase struct {
	Action  string `json:"action"`
	Code    int32  `json:"code"`
	Ch      string `json:"ch"`
	Message string `json:"message"`
}

func ParseWSV2Resp

func ParseWSV2Resp(message string) *WebSocketV2ResponseBase

func (*WebSocketV2ResponseBase) IsSuccess

func (p *WebSocketV2ResponseBase) IsSuccess() bool

Jump to

Keyboard shortcuts

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