Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ChangeChan chan messages.Message
ChangeChan is a change msg queue
View Source
var InformChan chan Receive
InformChan is a inform msg queue,used for device log
Functions ¶
Types ¶
type InformMessage ¶
InformMessage used to store device inform
type Message ¶
type Message struct { MessageProperties Body []byte }
Message amqp msg
func CreateMessage ¶
func CreateMessage(m messages.Message, properties MessageProperties) (Message, error)
CreateMessage tr069 msg encode
type MessageProperties ¶
type MessageProperties struct { Headers amqp.Table CorrelationID string ReplyTo string ContentEncoding string ContentType string Expiration string }
MessageProperties amqp msg property
Click to show internal directories.
Click to hide internal directories.