You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
567 B
32 lines
567 B
2 months ago
|
package AXYraw
|
||
|
|
||
|
import "goUpload/config"
|
||
|
|
||
|
type ConfigFile struct {
|
||
|
config.Consumer
|
||
|
IoConfig ioConfig `json:"ioConfig"`
|
||
|
Info Info `json:"info"`
|
||
|
}
|
||
|
type ioConfig struct {
|
||
|
In in `json:"in"`
|
||
|
Out out `json:"out"`
|
||
|
}
|
||
|
type in struct {
|
||
|
Kafka config.KafkaConfig `json:"kafka"`
|
||
|
}
|
||
|
|
||
|
type out struct {
|
||
|
Es config.EsConfig `json:"es"`
|
||
|
}
|
||
|
|
||
|
type Info struct {
|
||
|
Common map[string]string `json:"common"`
|
||
|
QueryComponent queryComponent `json:"queryComponent"`
|
||
|
}
|
||
|
|
||
|
type queryComponent struct {
|
||
|
Redis struct {
|
||
|
Address string `json:"address"`
|
||
|
} `json:"redis"`
|
||
|
}
|