Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RabbitmqHostOptions ¶
type RabbitmqHostOptions struct { HostName string `mapstructure:"hostName"` VirtualHost string `mapstructure:"virtualHost"` Port int `mapstructure:"port"` HttpPort int `mapstructure:"httpPort"` UserName string `mapstructure:"userName"` Password string `mapstructure:"password"` RetryDelay time.Time `mapstructure:"retryDelay"` }
func (*RabbitmqHostOptions) AmqpEndPoint ¶
func (h *RabbitmqHostOptions) AmqpEndPoint() string
func (*RabbitmqHostOptions) HttpEndPoint ¶
func (h *RabbitmqHostOptions) HttpEndPoint() string
type RabbitmqOptions ¶
type RabbitmqOptions struct { RabbitmqHostOptions *RabbitmqHostOptions `mapstructure:"rabbitmqHostOptions"` DeliveryMode uint8 Persisted bool AppId string AutoStart bool `mapstructure:"autoStart" default:"true"` Reconnecting bool `mapstructure:"reconnecting" default:"true"` }
func ProvideConfig ¶
func ProvideConfig(environment environment.Environment) (*RabbitmqOptions, error)
Click to show internal directories.
Click to hide internal directories.