vars.go 378 B

12345678910111213141516171819
  1. package internal
  2. import "time"
  3. const (
  4. autoSyncInterval = time.Minute
  5. coolDownInterval = time.Second
  6. dialTimeout = 5 * time.Second
  7. dialKeepAliveTime = 5 * time.Second
  8. requestTimeout = 3 * time.Second
  9. Delimiter = '/'
  10. endpointsSeparator = ","
  11. )
  12. var (
  13. DialTimeout = dialTimeout
  14. RequestTimeout = requestTimeout
  15. NewClient = DialClient
  16. )