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.

12345678910111213141516171819202122
  1. // Copyright (c) 2020 Shivaram Lingamneni
  2. // released under the MIT license
  3. package mysql
  4. import (
  5. "time"
  6. )
  7. type Config struct {
  8. // these are intended to be written directly into the config file:
  9. Enabled bool
  10. Host string
  11. Port int
  12. User string
  13. Password string
  14. HistoryDatabase string `yaml:"history-database"`
  15. Timeout time.Duration
  16. // XXX these are copied from elsewhere in the config:
  17. ExpireTime time.Duration
  18. }