config.go 375 B

123456789101112131415
  1. package dropboxfs
  2. import "golang.org/x/oauth2"
  3. //Config Configuration
  4. type Config struct {
  5. ClientSecret struct {
  6. ClientID string `json:"client_id" yaml:"client_id"`
  7. ClientSecret string `json:"client_secret" yaml:"client_secret"`
  8. } `json:"client_secret" yaml:"client_secret"`
  9. Auth *oauth2.Token `json:"auth" yaml:"auth"`
  10. Options struct {
  11. Safemode bool
  12. }
  13. }