Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMessageBrokerConfig ¶
func NewMessageBrokerConfig(config Config) meesage_broker.Config
Types ¶
type Config ¶
type SampleConfig ¶
type SampleConfig struct { AmqpAddress string `mapstructure:"AMQP_ADDRESS"` UserServiceAddress string `mapstructure:"USER_SERVICE_ADDRESS"` AuthServiceAddress string `mapstructure:"AUTH_SERVICE_ADDRESS"` AccessSignKey string `mapstructure:"ACCESS_SIGN_KEY"` AccessJWTExp time.Duration `mapstructure:"ACCESS_JWT_EXP" ` }
func (SampleConfig) GetAccessJWTExp ¶
func (s SampleConfig) GetAccessJWTExp() time.Duration
func (SampleConfig) GetAccessSignKey ¶
func (s SampleConfig) GetAccessSignKey() string
func (SampleConfig) GetAmqpAddress ¶
func (s SampleConfig) GetAmqpAddress() string
func (SampleConfig) GetAuthServiceAddress ¶
func (s SampleConfig) GetAuthServiceAddress() string
func (SampleConfig) GetUserServiceAddress ¶
func (s SampleConfig) GetUserServiceAddress() string
Click to show internal directories.
Click to hide internal directories.