Versions in this module Expand all Collapse all v0 v0.0.1 Nov 28, 2024 Changes in this version + const DefaultClientID + type Addition struct + AccessToken string + ClientID string + ClientSecret string + OauthTokenURL string + RefreshToken string + RootNamespaceId string + type CurrentAccountResp struct + RootInfo struct{ ... } + type Dropbox struct + func (d *Dropbox) Config() driver.Config + func (d *Dropbox) Copy(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *Dropbox) Drop(ctx context.Context) error + func (d *Dropbox) GetAddition() driver.Additional + func (d *Dropbox) GetRootNamespaceId(ctx context.Context) (string, error) + func (d *Dropbox) Init(ctx context.Context) error + func (d *Dropbox) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) + func (d *Dropbox) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) + func (d *Dropbox) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error + func (d *Dropbox) Move(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *Dropbox) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error + func (d *Dropbox) Remove(ctx context.Context, obj model.Obj) error + func (d *Dropbox) Rename(ctx context.Context, srcObj model.Obj, newName string) error + type ErrorResp struct + Error struct{ ... } + ErrorSummary string + type File struct + ClientModified time.Time + ContentHash string + ID string + IsDownloadable bool + Name string + PathDisplay string + PathLower string + Rev string + ServerModified time.Time + Size int + Tag string + type ListResp struct + Cursor string + Entries []File + HasMore bool + type RefreshTokenErrorResp struct + Error string + ErrorDescription string + type TokenResp struct + AccessToken string + ExpiresIn int + TokenType string + type UploadAppendArgs struct + Close bool + Cursor UploadCursor + type UploadCursor struct + Offset int64 + SessionID string + type UploadFinishArgs struct + Commit struct{ ... } + Cursor UploadCursor