mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
add event authenticated
This commit is contained in:
parent
fe7eab38f2
commit
d9e5ad4365
|
@ -41,6 +41,8 @@ func ParseMessage(payload []byte) (interface{}, error) {
|
|||
|
||||
eventType := string(val.GetStringBytes("e"))
|
||||
switch eventType {
|
||||
case "authenticated":
|
||||
return nil, nil
|
||||
case "error":
|
||||
return parseErrorEvent(val)
|
||||
case "subscribed", "unsubscribed":
|
||||
|
|
Loading…
Reference in New Issue
Block a user