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.

13 lines
512 B

  1. package config
  2. type Timer struct {
  3. Start bool `mapstructure:"start" json:"start" yaml:"start"`
  4. Spec string `mapstructure:"spec" json:"spec" yaml:"spec"`
  5. Detail []Detail `mapstructure:"detail" json:"detail" yaml:"detail"`
  6. }
  7. type Detail struct {
  8. TableName string `mapstructure:"tableName" json:"tableName" yaml:"tableName"`
  9. CompareField string `mapstructure:"compareField" json:"compareField" yaml:"compareField"`
  10. Interval string `mapstructure:"interval" json:"interval" yaml:"interval"`
  11. }