@@ -21,16 +21,16 @@ type storage struct {
2121// config is the struct contains config for connect client
2222// Run is made from internal caller
2323type config struct {
24- DatabaseURL valuable.Valuable `json:"databaseUrl"`
25- QueueName string `json:"queueName"`
26- DefinedContentType string `json:"contentType"`
27- Durable bool `json:"durable"`
28- DeleteWhenUnused bool `json:"deleteWhenUnused"`
29- Exclusive bool `json:"exclusive"`
30- NoWait bool `json:"noWait"`
31- Mandatory bool `json:"mandatory"`
32- Immediate bool `json:"immediate"`
33- Exchange string `json:"exchange"`
24+ DatabaseURL valuable.Valuable `mapstructure:"databaseUrl" json:"databaseUrl"`
25+ QueueName string `mapstructure:"queueName" json:"queueName"`
26+ DefinedContentType string `mapstructure:"contentType" json:"contentType"`
27+ Durable bool `mapstructure:"durable" json:"durable"`
28+ DeleteWhenUnused bool `mapstructure:"deleteWhenUnused" json:"deleteWhenUnused"`
29+ Exclusive bool `mapstructure:"exclusive" json:"exclusive"`
30+ NoWait bool `mapstructure:"noWait" json:"noWait"`
31+ Mandatory bool `mapstructure:"mandatory" json:"mandatory"`
32+ Immediate bool `mapstructure:"immediate" json:"immediate"`
33+ Exchange string `mapstructure:"exchange" json:"exchange"`
3434}
3535
3636// ContentType is the function for get content type used to push data in the
0 commit comments