first commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package config
|
||||
|
||||
type RocketMQConfig struct {
|
||||
NameSpace string `mapstructure:"name-space" json:"nameSpace" yaml:"name-space"`
|
||||
Endpoint string `mapstructure:"endpoint" json:"endpoint" yaml:"endpoint"`
|
||||
ConsumerGroup string `mapstructure:"consumer-group" json:"consumerGroup" yaml:"consumer-group"`
|
||||
AccessKey string `mapstructure:"access-key" json:"accessKey" yaml:"access-key"`
|
||||
SecretKey string `mapstructure:"secret-key" json:"secretKey" yaml:"secret-key"`
|
||||
Topic string `mapstructure:"topic" json:"topic" yaml:"topic"`
|
||||
EnableSSL bool `mapstructure:"enable-ssl" json:"enableSSL" yaml:"enable-ssl"`
|
||||
LogEnabled bool `mapstructure:"log-enabled" json:"logEnabled" yaml:"log-enabled"`
|
||||
}
|
||||
Reference in New Issue
Block a user