config.go 377 B

1234567891011121314151617181920
  1. package core
  2. import "time"
  3. // Config struct
  4. type Config struct {
  5. Daemonize bool
  6. Type string
  7. VerboseLog bool
  8. RefreshTime time.Duration
  9. HomeDir string
  10. UID uint32 // Mount UID
  11. GID uint32 // Mount GID
  12. Target string // should be a folder
  13. Source string
  14. Safemode bool
  15. // Driver specific params:
  16. Param map[string]interface{}
  17. }