Versions in this module Expand all Collapse all v1 v1.0.0 Nov 27, 2023 Changes in this version + var ErrInvalidResponsePayload = errors.New("invalid response payload") + type DropboxClient struct + func NewDropboxAuthClient(credentials *oauth2.Config) DropboxClient + func (c DropboxClient) CreateFile(ctx context.Context, path, token string, file io.Reader) (response.DropboxFileResponse, error) + func (c DropboxClient) GetDownloadLink(ctx context.Context, path, token string) (response.DropboxDownloadResponse, error) + func (c DropboxClient) GetFile(ctx context.Context, path, token string) (response.DropboxFileResponse, error) + func (c DropboxClient) GetUser(ctx context.Context, token string) (response.DropboxUserResponse, error) + func (c DropboxClient) SaveFileFromURL(ctx context.Context, path, url, token string) error + func (c DropboxClient) UploadFile(ctx context.Context, path, token string, file io.Reader) (response.DropboxFileResponse, error)