Versions in this module Expand all Collapse all v1 v1.19.1 Oct 25, 2022 Changes in this version + const BKDataPlugin + const DefaultExporterPlugin + const HeartBeatDetect + const ProtocolMagicNum + func CreateProtocolBuffer(handler HandlerIf) io.Writer + func HeadLength() int + func Package(msgHead *MsgHead, data []byte) ([]byte, error) + type HandlerIf interface + Write func(head *MsgHead, data []byte) (int, error) + type MsgHead struct + ExtID int64 + Length uint32 + Magic uint64 + Timestamp int64 + Type uint32 + func ConvertToMsgHead(buffer []byte) (*MsgHead, error)