Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DotMatrixParams ¶
type DotMatrixParams struct {
Device string `json:"device"`
IpPrinter string `json:"body"`
Data interface{} `json:"data"`
}
DotMatrixParams defines the dot matrix printer parameters
type Message ¶
type Message struct {
Body MessageBody `json:"body"`
Headers MessageHeaders `json:"headers"`
SourceRoutingKey string `json:"source_routing_key"`
}
Message defines the whatsapp message
func (*Message) ExtractMessage ¶
ExtractMessage extracts message body
type MessageBody ¶
type MessageBody struct {
FileExt string `json:"extension"`
FilePath string `json:"file_path"`
PrinterModel string `json:"printer_model"`
}
MessageBody defines th message body
type MessageHeaders ¶
type MessageHeaders struct {
SvcId string `json:"svc_id"`
RequeueStrategy string `json:"requeue_strategy"`
MessageType string `json:"message_type"`
}
MessageHeaders defines th message headers
type PosParams ¶
type PosParams struct {
Device string `json:"device"`
IpPrinter string `json:"body"`
Data interface{} `json:"data"`
}
PosParams defines the pos printer parameters
type ZebraParams ¶
type ZebraParams struct {
Device string `json:"device"`
IpPrinter string `json:"body"`
Data interface{} `json:"data"`
}
ZebraParams defines the zebra printer parameters
Click to show internal directories.
Click to hide internal directories.