Files
2026-02-06 14:44:06 +08:00

13 lines
723 B
Go

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"`
}