Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TypeMappings = map[winapi.MsgType]schemas.MessageType{ winapi.MsgTypeText: schemas.MessageTypeText, winapi.MsgTypeImage: schemas.MessageTypeImage, winapi.MsgTypeAudio: schemas.MessageTypeAudio, winapi.MsgTypeEmoticon: schemas.MessageTypeEmoticon, winapi.MsgTypeLocation: schemas.MessageTypeLocation, winapi.MsgTypeXML: schemas.MessageTypeAttachment, winapi.MsgTypeSystem: schemas.MessageTypeUnknown, }
Functions ¶
func ExecuteMsgParsers ¶
func ExecuteMsgParsers(wMsg *winapi.MsgEventData, ret *schemas.MessagePayload) *schemas.MessagePayload
Types ¶
type MessageParser ¶
type MessageParser func(wMsg *winapi.MsgEventData, ret *schemas.MessagePayload, context *MsgParserContext) *schemas.MessagePayload
type MsgParserContext ¶
type MsgParserContext struct {
AppMsgPayload *msg.AppMsgPayload
}
Click to show internal directories.
Click to hide internal directories.