package cnf type Cfg struct { Settings Settings `yaml:"Settings"` MySQL MySQL `yaml:"MySQL"` } type Settings struct { ListenPort string `yaml:"ListenPort"` HookScript string `yaml:"HookScript"` HostMode int `yaml:"HostMode"` MustPost bool `yaml:"MustPost"` ParamCheck bool `yaml:"ParamCheck"` LogRequest bool `yaml:"LogRequest"` LogResponse bool `yaml:"LogResponse"` } type MySQL struct { Server string `yaml:"Server"` Port string `yaml:"Port"` Database string `yaml:"Database"` User string `yaml:"User"` Password string `yaml:"Password"` IssuesTable string `yaml:"IssuesTable"` IssuesView string `yaml:"IssuesView"` OfflineView string `yaml:"OfflineView"` StorageTable string `yaml:"StorageTable"` GetFailListSQL string `yaml:"GetFailListSQL"` }