exchanges

package
v0.0.0-...-d0d29b7 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MsgOK = iota
	MsgError
	MsgSubscribeBalance
	MsgBalanceUpdate
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	In  chan *Msg
	Out chan *Msg
}

func NewConnection

func NewConnection() (conn *Conn)

type Msg

type Msg struct {
	Kind    int
	Payload MsgPayload
}

func ErrorMsg

func ErrorMsg(errorMsg string) (resp *Msg)

type MsgPayload

type MsgPayload = map[string]interface{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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