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.

11 lines
605 B

  1. package config
  2. type System struct {
  3. Env string `mapstructure:"env" json:"env" yaml:"env"`
  4. Addr int `mapstructure:"addr" json:"addr" yaml:"addr"`
  5. DbType string `mapstructure:"db-type" json:"dbType" yaml:"db-type"`
  6. OssType string `mapstructure:"oss-type" json:"ossType" yaml:"oss-type"`
  7. ConfigEnv string `mapstructure:"config-env" json:"configEnv" yaml:"config-env"`
  8. NeedInitData bool `mapstructure:"need-init-data" json:"needInitData" yaml:"need-init-data"`
  9. UseMultipoint bool `mapstructure:"use-multipoint" json:"useMultipoint" yaml:"use-multipoint"`
  10. }