Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Provider = wire.NewSet( NewConnections, )
Functions ¶
func NewConnection ¶
func NewConnection(config *Config) (*amqp091.Connection, error)
func NewConnections ¶
func NewConnections(configs Configs) (map[string]*amqp091.Connection, error)
Types ¶
type Config ¶
type Config struct {
URL string `mapstructure:"url" json:"url" yaml:"url"`
TLS *TLSConfig `mapstructure:"tls" json:"tls" yaml:"tls"`
ExternalAuth bool `mapstructure:"external_auth" json:"external_auth" yaml:"external_auth"`
Amqp091Config *amqp091.Config `mapstructure:"amqp_091_config" json:"amqp_091_config" yaml:"amqp_091_config"`
}
Click to show internal directories.
Click to hide internal directories.