transfer_middleware/cmd/rpc/etc/config.go

38 lines
574 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-07-16 16:57:26 +08:00
Username string
Password string
2024-06-07 11:11:04 +08:00
}
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 {
2024-10-15 18:35:45 +08:00
Market TopicConfig
ZLTX TopicConfig
RS TopicConfig
NewMarket TopicConfig
2024-06-18 16:34:14 +08:00
}
type TopicConfig struct {
Name string
2024-06-12 13:46:14 +08:00
}