Documentation ¶
Index ¶
- func BuildCode2dPacket(uin uint32, cmdID int, appInfo *info.AppInfo, body []byte) []byte
- func BuildKexExchangeRequest(uin uint32, guid string) []byte
- func BuildLoginPacket(uin uint32, cmd string, appinfo *info.AppInfo, body []byte) []byte
- func BuildRegisterRequest(app *info.AppInfo, device *info.DeviceInfo) []byte
- func BuildSSOHeartbeatRequest() []byte
- func BuildUniPacket(uin, seq int, cmd string, sign map[string]string, appInfo *info.AppInfo, ...) []byte
- func DecodeLoginResponse(buf []byte, sig *info.SigInfo) (bool, error)
- func ParseKeyExchangeResponse(response []byte, sig *info.SigInfo)
- func ParseLv(buffer *bytes.Buffer) []byte
- func ParseOicqBody(buf []byte) ([]byte, error)
- func ParseRegisterResponse(response []byte) bool
- type SSOHeader
- type SSOPacket
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCode2dPacket ¶
func BuildKexExchangeRequest ¶
func BuildLoginPacket ¶
func BuildRegisterRequest ¶
func BuildRegisterRequest(app *info.AppInfo, device *info.DeviceInfo) []byte
BuildRegisterRequest trpc.qq_new_tech.status_svc.StatusService.Register
func BuildSSOHeartbeatRequest ¶
func BuildSSOHeartbeatRequest() []byte
BuildSSOHeartbeatRequest trpc.qq_new_tech.status_svc.StatusService.SsoHeartBeat
func BuildUniPacket ¶
func ParseOicqBody ¶
func ParseRegisterResponse ¶
Types ¶
type SSOHeader ¶
func ParseSSOHeader ¶
type SSOPacket ¶
func NewSSOPacket ¶
Click to show internal directories.
Click to hide internal directories.