Versions in this module Expand all Collapse all v6 v6.0.2 Oct 23, 2019 v6.0.1 Oct 23, 2019 Changes in this version + const AccessErrorInvalidAccountType + const AccessErrorOther + const AccessErrorPaperAccessDenied + const AuthErrorExpiredAccessToken + const AuthErrorInvalidAccessToken + const AuthErrorInvalidSelectAdmin + const AuthErrorInvalidSelectUser + const AuthErrorMissingScope + const AuthErrorOther + const AuthErrorUserSuspended + const InvalidAccountTypeErrorEndpoint + const InvalidAccountTypeErrorFeature + const InvalidAccountTypeErrorOther + const PaperAccessErrorNotPaperUser + const PaperAccessErrorOther + const PaperAccessErrorPaperDisabled + const RateLimitReasonOther + const RateLimitReasonTooManyRequests + const RateLimitReasonTooManyWriteOperations + const TokenFromOAuth1ErrorAppIdMismatch + const TokenFromOAuth1ErrorInvalidOauth1TokenInfo + const TokenFromOAuth1ErrorOther + func HandleCommonAuthErrors(c dropbox.Config, resp *http.Response, body []byte) error + type AccessAPIError struct + AccessError *AccessError + type AccessError struct + InvalidAccountType *InvalidAccountTypeError + PaperAccessDenied *PaperAccessError + func (u *AccessError) UnmarshalJSON(body []byte) error + type AuthAPIError struct + AuthError *AuthError + type AuthError struct + MissingScope *TokenScopeError + func (u *AuthError) UnmarshalJSON(body []byte) error + type Client interface + TokenFromOauth1 func(arg *TokenFromOAuth1Arg) (res *TokenFromOAuth1Result, err error) + TokenRevoke func() (err error) + func New(c dropbox.Config) Client + type InvalidAccountTypeError struct + type PaperAccessError struct + type RateLimitAPIError struct + RateLimitError *RateLimitError + type RateLimitError struct + Reason *RateLimitReason + RetryAfter uint64 + func NewRateLimitError(Reason *RateLimitReason) *RateLimitError + type RateLimitReason struct + type TokenFromOAuth1Arg struct + Oauth1Token string + Oauth1TokenSecret string + func NewTokenFromOAuth1Arg(Oauth1Token string, Oauth1TokenSecret string) *TokenFromOAuth1Arg + type TokenFromOAuth1Error struct + type TokenFromOAuth1Result struct + Oauth2Token string + func NewTokenFromOAuth1Result(Oauth2Token string) *TokenFromOAuth1Result + type TokenFromOauth1APIError struct + EndpointError *TokenFromOAuth1Error + type TokenRevokeAPIError struct + EndpointError struct{} + type TokenScopeError struct + RequiredScope string + func NewTokenScopeError(RequiredScope string) *TokenScopeError Other modules containing this package github.com/neevaco/dropbox-sdk-go-unofficial