Documentation ¶
Index ¶
Constants ¶
View Source
const ( HOST = "localhost" PORT = 5672 VHOST = "/" EXCHANGE_TYPE = "direct" DEFAULT_HEADER_NAME = "correlation-id" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Host string `yaml:"host,omitempty" json:"host,omitempty" toml:"host,omitempty"` Port int `yaml:"port,omitempty" json:"port,omitempty" toml:"port,omitempty"` Vhost string `yaml:"vhost,omitempty" json:"vhost,omitempty" toml:"vhost,omitempty"` Username string `json:"username,omitempty" yaml:"username,omitempty" toml:"username,omitempty"` Password string `yaml:"password,omitempty" json:"password,omitempty" toml:"password,omitempty"` HeaderExchangeName string `yaml:"headerExchangeName,omitempty" json:"headerExchangeName,omitempty" toml:"headerExchangeName,omitempty"` HeaderQueueName string `yaml:"headerQueueName,omitempty" json:"headerQueueName,omitempty" toml:"headerQueueName,omitempty"` HeaderExchangeType string `yaml:"headerExchangeType,omitempty" json:"headerExchangeType,omitempty" toml:"headerExchangeType,omitempty"` HeaderCorrelationId string `yaml:"headerCorrelationId,omitempty" json:"headerCorrelationId,omitempty" toml:"headerCorrelationId,omitempty"` }
Config the plugin configuration.
func CreateConfig ¶
func CreateConfig() *Config
CreateConfig creates the default plugin configuration.
Click to show internal directories.
Click to hide internal directories.