Documentation ¶
Index ¶
- type BitgetWsClient
- func (p *BitgetWsClient) Close()
- func (p *BitgetWsClient) Connect() *BitgetWsClient
- func (p *BitgetWsClient) Init(needLogin bool, listener common.OnReceive, errorListener common.OnReceive) *BitgetWsClient
- func (p *BitgetWsClient) SendMessage(msg string)
- func (p *BitgetWsClient) SendMessageByType(req model.WsBaseReq)
- func (p *BitgetWsClient) Subscribe(list []model.SubscribeReq, listener common.OnReceive)
- func (p *BitgetWsClient) SubscribeDef(list []model.SubscribeReq)
- func (p *BitgetWsClient) UnSubscribe(list []model.SubscribeReq)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitgetWsClient ¶
type BitgetWsClient struct { NeedLogin bool // contains filtered or unexported fields }
func (*BitgetWsClient) Close ¶
func (p *BitgetWsClient) Close()
func (*BitgetWsClient) Connect ¶
func (p *BitgetWsClient) Connect() *BitgetWsClient
func (*BitgetWsClient) Init ¶
func (p *BitgetWsClient) Init(needLogin bool, listener common.OnReceive, errorListener common.OnReceive) *BitgetWsClient
func (*BitgetWsClient) SendMessage ¶
func (p *BitgetWsClient) SendMessage(msg string)
func (*BitgetWsClient) SendMessageByType ¶
func (p *BitgetWsClient) SendMessageByType(req model.WsBaseReq)
func (*BitgetWsClient) Subscribe ¶
func (p *BitgetWsClient) Subscribe(list []model.SubscribeReq, listener common.OnReceive)
func (*BitgetWsClient) SubscribeDef ¶
func (p *BitgetWsClient) SubscribeDef(list []model.SubscribeReq)
func (*BitgetWsClient) UnSubscribe ¶
func (p *BitgetWsClient) UnSubscribe(list []model.SubscribeReq)
Click to show internal directories.
Click to hide internal directories.