config.go 359 B

12345678910111213141516171819
  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. // Driver specific params:
  15. Param map[string]interface{}
  16. }