Versions in this module Expand all Collapse all v0 v0.4.13 Nov 3, 2024 Changes in this version + const ICONURL + type Addition struct + AuthUrl string + ChunkSize int64 + ClientID string + ClientSecret string + Code string + Icon string + OrderBy string + OrderDirection string + RefreshToken string + type Error struct + Error struct{ ... } + type File struct + Id string + MimeType string + ModifiedTime time.Time + Name string + ShortcutDetails struct{ ... } + Size string + ThumbnailLink string + type Files struct + Files []File + NextPageToken string + type GoogleDrive struct + AccessToken string + func GetConfig() GoogleDrive + func (d *GoogleDrive) Config() driver.Config + func (d *GoogleDrive) Copy(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *GoogleDrive) Drop(ctx context.Context) error + func (d *GoogleDrive) GetAddition() driver.Additional + func (d *GoogleDrive) GetInfo(ctx context.Context) (string, string, string, error) + func (d *GoogleDrive) GetUserInfo(ctx context.Context) (string, error) + func (d *GoogleDrive) Init(ctx context.Context) error + func (d *GoogleDrive) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) + func (d *GoogleDrive) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) + func (d *GoogleDrive) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error + func (d *GoogleDrive) Move(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *GoogleDrive) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error + func (d *GoogleDrive) Remove(ctx context.Context, obj model.Obj) error + func (d *GoogleDrive) Rename(ctx context.Context, srcObj model.Obj, newName string) error + type TokenError struct + Error string + ErrorDescription string + type UserInfo struct + User struct{ ... }