package AlarmCombination import "goInOut/config" type ConfigFile struct { IoConfig ioConfig `yaml:"ioConfig"` OtherInfo map[string]string `yaml:"info"` Monitor map[string]string `yaml:"monitor"` QueryComponent queryComponent `yaml:"queryComponent"` } type ioConfig struct { In In `yaml:"in"` Out Out `yaml:"out"` } type In struct { Http config.HttpConfig `yaml:"http"` } type Out struct { Kafka config.KafkaConfig `yaml:"kafka"` } type queryComponent struct { Redis struct { Address string `yaml:"address"` } `yaml:"redis"` Pg struct { Connect string `yaml:"connect"` } `yaml:"postgres"` }