Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Configuration represent the variable of configuration model Configuration = &ConfigurationModel{} )
Functions ¶
func InitRabbitMQ ¶
func InitRabbitMQ() (*amqp.Connection, error)
InitRabbitMQ will create a variable that represent the amqp.Connection
Types ¶
type ConfigurationModel ¶
type ConfigurationModel struct { Port string `json:"port"` RabbitMQ struct { Addr string `json:"addr"` } `json:"rabbit_mq"` }
ConfigurationModel represent the configuration model
Click to show internal directories.
Click to hide internal directories.