Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDatabaseConfig ¶
func NewMessageBrokerConfig ¶
func NewMessageBrokerConfig(config Config) meesage_broker.Config
Types ¶
type Config ¶
type SampleConfig ¶
type SampleConfig struct { AmqpAddress string `mapstructure:"AMQP_ADDRESS"` DatabaseDsn string `mapstructure:"DATABASE_DSN"` DBDriver string `mapstructure:"DATABASE_DRIVER"` UserServiceAddress string `mapstructure:"USER_SERVICE_ADDRESS"` }
func (SampleConfig) GetAmqpAddress ¶
func (s SampleConfig) GetAmqpAddress() string
func (SampleConfig) GetDatabaseDsn ¶
func (s SampleConfig) GetDatabaseDsn() string
func (SampleConfig) GetDbDriver ¶
func (s SampleConfig) GetDbDriver() string
func (SampleConfig) GetUserServiceAddress ¶
func (s SampleConfig) GetUserServiceAddress() string
Click to show internal directories.
Click to hide internal directories.