Documentation ¶
Index ¶
- Constants
- Variables
- func ConvertMsg(msgType uint32, data []byte) []byte
- func ConvertReference(data []byte) *xproto.Reference
- func ConvertSignal(actionType uint32, data []byte) []byte
- func ConvertSource(data []byte) *xproto.Source
- func JsonUnmarshal(msgType uint32, data []byte) proto.Message
- func ParseCommonMsg(m *xproto.Common) []byte
- func ParseReference(m *xproto.Common) []byte
- func ParseSignal(m *xproto.Signal) []byte
- func ParseSource(m *xproto.Common) []byte
- type MsgCache
- type MsgContent
- type MsgRelation
- type SignalContent
Constants ¶
View Source
const ( Send = 0 Rev = 1 )
View Source
const ( UnReceive = 0 Received = 1 )
Variables ¶
Functions ¶
func ConvertMsg ¶
func ConvertReference ¶
func ConvertSignal ¶
func ConvertSource ¶
func ParseCommonMsg ¶
func ParseReference ¶
func ParseSignal ¶
func ParseSource ¶
Types ¶
type MsgContent ¶
type MsgRelation ¶
Click to show internal directories.
Click to hide internal directories.