package
Version:
v0.0.0-...-2ee972e
Opens a new window with list of versions in this module.
Published: Dec 1, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type BookInfo struct {
Asks []interface{} `json:"asks"`
Bids []interface{} `json:"bids"`
Checksum string `json:"checksum"`
}
func (s *Set) Add(item inter)
func (s *Set) List() []inter
func (s *Set) Remove(item inter)
type SubscribeReq struct {
InstType string `json:"instType"`
Channel string `json:"channel"`
InstId string `json:"instId"`
}
type WsBaseReq struct {
Op string `json:"op"`
Args []interface{} `json:"args"`
}
type WsLoginBaseReq struct {
Op string `json:"op"`
Args []WsLoginReq `json:"args"`
}
type WsLoginReq struct {
ApiKey string `json:"apiKey"`
Passphrase string `json:"passphrase"`
Timestamp string `json:"timestamp"`
Sign string `json:"sign"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.