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"` UserServiceAddress string `mapstructure:"USER_SERVICE_ADDRESS"` RetryDelayConnect time.Duration `mapstructure:"RETRY_DELAY_CONNECT"` RetryAttemptsConnect uint `mapstructure:"RETRY_ATTEMPTS_CONNECT" ` }
func (SampleConfig) GetAmqpAddress ¶
func (s SampleConfig) GetAmqpAddress() string
func (SampleConfig) GetDatabaseDsn ¶
func (s SampleConfig) GetDatabaseDsn() string
func (SampleConfig) GetRetryAttemptsConnect ¶
func (s SampleConfig) GetRetryAttemptsConnect() uint
func (SampleConfig) GetRetryDelayConnect ¶
func (s SampleConfig) GetRetryDelayConnect() time.Duration
func (SampleConfig) GetUserServiceAddress ¶
func (s SampleConfig) GetUserServiceAddress() string
Click to show internal directories.
Click to hide internal directories.