package
Version:
v0.0.0-...-fd5bc48
Opens a new window with list of versions in this module.
Published: Mar 1, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type WSAuthData struct {
Op string `json:"op"`
AtType string `json:"type"`
Cid string `json:"cid,omitempty"`
AccessKeyId string `json:"AccessKeyId"`
SignatureMethod string `json:"SignatureMethod"`
SignatureVersion string `json:"SignatureVersion"`
Timestamp string `json:"Timestamp"`
Signature string `json:"Signature"`
Ticket string `json:"ticket,omitempty"`
}
type WSOpData struct {
Op string `json:"op"`
Cid string `json:"cid,omitempty"`
Topic string `json:"topic"`
}
type WSReqData struct {
Req string `json:"req"`
Id string `json:"id"`
From int64 `json:"from,omitempty"`
To int64 `json:"to,omitempty"`
}
type WSSubData struct {
Sub string `json:"sub"`
Id string `json:"id"`
DataType string `json:"data_type,omitempty"`
}
type WSUnreqData struct {
Unreq string `json:"unreq"`
Id string `json:"id"`
From int64 `json:"from"`
To int64 `json:"to"`
}
type WSUnsubData struct {
Unsub string `json:"unsub"`
Id string `json:"id"`
DataType string `json:"data_type,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.