feat: 添加oss api

This commit is contained in:
Blizzard
2025-10-11 15:13:58 +08:00
parent 237ac665e6
commit 7e282b36d7
21 changed files with 545 additions and 5 deletions
+12
View File
@@ -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"`
}