Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(rabbitMQ RabbitmqSection)
Types ¶
type MQRequest ¶
type MQRequest struct { Method string `json:"method"` Payload interface{} `json:"payload"` }
type RabbitmqSection ¶
type RabbitmqSection struct { Enable bool `yaml:"enable"` Addr string `yaml:"addr"` Queue string `yaml:"queue"` }
var (
RabbitMQ RabbitmqSection
)
Click to show internal directories.
Click to hide internal directories.