Versions in this module Expand all Collapse all v0 v0.1.2 Nov 28, 2024 v0.1.1 Nov 9, 2024 v0.1.0 Oct 6, 2024 Changes in this version + const BlockSize + func Frame(head []byte, body []byte) net.Buffers + type Addr struct + IP uint32 + Port int + func (a Addr) AsNetIP() net.IP + func (a Addr) String() string + type Session struct + AppID uint32 + SessionKey []byte + SigSession []byte + SsoAddr []Addr + SubAppID uint32 + Uin *uint32 + func (s *Session) AddrLength() int + func (s *Session) AppendAddr(ip, port uint32) + func (s *Session) NextSeq() uint32 + func (s *Session) Upload(trans *Transaction) ([]byte, error) + type Transaction struct + Body io.Reader + CommandID uint32 + Encrypt bool + Ext []byte + LoginSig []byte + Size uint64 + Sum []byte + Ticket []byte + func (trans *Transaction) Build(s *Session, offset uint64, length uint32, md5hash []byte) *highway.ReqDataHighwayHead