package GDJKJC import "goInOut/config" type ConfigFile struct { IoConfig ioConfig `yaml:"ioConfig"` Info map[string]AppKeySecret `yaml:"info"` StructInfo structInfo `yaml:"structInfo"` 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 { Http config.HttpConfig `yaml:"http"` } type queryComponent struct { Redis struct { Address string `yaml:"address"` } `yaml:"redis"` } type AppKeySecret struct { AppKey string `yaml:"appKey"` AppSecret string `yaml:"appSecret"` } type structInfo struct { Bridge map[int]string `yaml:"bridge"` Slope map[int]string `yaml:"slope"` }