config.go 352 B

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