add event authenticated

This commit is contained in:
c9s 2020-12-28 16:24:17 +08:00
parent fe7eab38f2
commit d9e5ad4365

View File

@ -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":