package SavoirTheme import "goInOut/config" type ConfigFile struct { IoConfig ioConfig `yaml:"ioConfig"` Monitor map[string]string `yaml:"monitor"` QueryComponent queryComponent `yaml:"queryComponent"` } 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"` }