transfer_middleware/cmd/rpc/etc/config.go

35 lines
502 B
Go
Raw Normal View History

2024-06-07 11:11:04 +08:00
package etc
type ExtraConfig struct {
Nacos NacosConf
2024-06-12 13:46:14 +08:00
Mq RockerMqConfig
2024-06-07 11:11:04 +08:00
}
type NacosConf struct {
Hosts []string
NameSpace string
TimeOut uint64
ServiceName string
}
2024-06-12 13:46:14 +08:00
type RockerMqConfig struct {
2024-06-18 16:34:14 +08:00
Host []string
GroupName string
TopicPrefix string
AccessKey string
SecretKey string
SecurityToken string
Topic TopicList
}
type TopicList struct {
Market TopicConfig
ZLTX TopicConfig
RS TopicConfig
}
type TopicConfig struct {
Name string
2024-06-12 13:46:14 +08:00
}