Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeErr = iota TypeData TypeResize )
Message.Type
Variables ¶
This section is empty.
Functions ¶
func ReadCertPool ¶
ReadCertPool get CertPool by crt file
Types ¶
type Message ¶
type Message struct { Type int `json:"t"` Data json.RawMessage `json:"d"` }
Message Websocket Communication data format
type MessageClient ¶
type MessageClient struct { Type int `json:"t"` Data interface{} `json:"d"` }
MessageClient Websocket Communication data format
Click to show internal directories.
Click to hide internal directories.