Documentation ¶
Index ¶
- func DecodeHello(buf []byte) (id []byte, model string, err error)
- func Decrypt(enc []byte, token []byte) (result []byte, err error)
- func Encode(msg, token, deviceID []byte, serialNum uint32) (buf []byte)
- func EncodeKey(key, deviceID []byte) (buf []byte)
- func Encrypt(msg, token []byte) (dst []byte)
- type Info
- type Packet
- type Protocol
- type Result
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeHello ¶ added in v1.9.1
Types ¶
Click to show internal directories.
Click to hide internal directories.