Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
func Decode(msg *[]byte, m *interface{})
Decode This function decode message from mq queue
Types ¶
type UpdatesChannel ¶
type UpdatesChannel <-chan interface{}
func ReceiveMsg ¶
func ReceiveMsg(queue string) UpdatesChannel
ReceiveMsg allow receibe a message from a queue. AMQP URL must be defined in the environment variable "RABBIT_URL"
Click to show internal directories.
Click to hide internal directories.