-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpublisher_config.go
10 lines (9 loc) · 1.25 KB
/
publisher_config.go
1
2
3
4
5
6
7
8
9
10
package rabbitmq
type PublisherConfig struct {
Url string `yaml:"url" mapstructure:"url" json:"url,omitempty" gorm:"column:url" bson:"url,omitempty" dynamodbav:"url,omitempty" firestore:"url,omitempty"`
ExchangeName string `yaml:"exchange_name" mapstructure:"exchange_name" json:"exchangeName,omitempty" gorm:"column:exchangename" bson:"exchangeName,omitempty" dynamodbav:"exchangeName,omitempty" firestore:"exchangeName,omitempty"`
ExchangeKind string `yaml:"exchange_kind" mapstructure:"exchange_kind" json:"exchangeKind,omitempty" gorm:"column:exchangekind" bson:"exchangeKind,omitempty" dynamodbav:"exchangeKind,omitempty" firestore:"exchangeKind,omitempty"`
Key string `yaml:"key" mapstructure:"key" json:"key,omitempty" gorm:"column:key" bson:"key,omitempty" dynamodbav:"key,omitempty" firestore:"key,omitempty"`
AutoDelete bool `yaml:"auto_delete" mapstructure:"auto_delete" json:"autoDelete,omitempty" gorm:"column:autodelete" bson:"autoDelete,omitempty" dynamodbav:"autoDelete,omitempty" firestore:"autoDelete,omitempty"`
ContentType string `yaml:"content_type" mapstructure:"content_type" json:"contentType,omitempty" gorm:"column:contentType" bson:"contentType,omitempty" dynamodbav:"contentType,omitempty" firestore:"contentType,omitempty"`
}