Versions in this module Expand all Collapse all v0 v0.0.1 Nov 28, 2024 Changes in this version + type Addition struct + ClientID string + ClientSecret string + OrderBy string + OrderDirection string + RefreshToken string + type DownResp struct + Href string + Method string + Templated bool + type ErrResp struct + Description string + Error string + Message string + type File struct + File string + Modified time.Time + Name string + Path string + Preview string + Size int64 + Type string + type FilesResp struct + CommentIds struct{} + Created time.Time + Embedded struct{ ... } + Exif struct{} + Modified time.Time + Name string + Path string + ResourceId string + Revision int64 + Type string + type TokenErrResp struct + Error string + ErrorDescription string + type UploadResp struct + Href string + Method string + OperationId string + Templated bool + type YandexDisk struct + AccessToken string + func (d *YandexDisk) Config() driver.Config + func (d *YandexDisk) Copy(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *YandexDisk) Drop(ctx context.Context) error + func (d *YandexDisk) GetAddition() driver.Additional + func (d *YandexDisk) Init(ctx context.Context) error + func (d *YandexDisk) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) + func (d *YandexDisk) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) + func (d *YandexDisk) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error + func (d *YandexDisk) Move(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *YandexDisk) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error + func (d *YandexDisk) Remove(ctx context.Context, obj model.Obj) error + func (d *YandexDisk) Rename(ctx context.Context, srcObj model.Obj, newName string) error