Documentation ¶
Index ¶
- type Addition
- type BaseResp
- type Catalog
- type CloudCatalog
- type CloudContent
- type Content
- type GetDiskResp
- type QueryContentListResp
- type UploadResp
- type Yun139
- func (d *Yun139) Config() driver.Config
- func (d *Yun139) Copy(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *Yun139) Drop(ctx context.Context) error
- func (d *Yun139) GetAddition() driver.Additional
- func (d *Yun139) Init(ctx context.Context) error
- func (d *Yun139) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)
- func (d *Yun139) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
- func (d *Yun139) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error
- func (d *Yun139) Move(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *Yun139) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error
- func (d *Yun139) Remove(ctx context.Context, obj model.Obj) error
- func (d *Yun139) Rename(ctx context.Context, srcObj model.Obj, newName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudCatalog ¶
type CloudContent ¶
type CloudContent struct { ContentID string `json:"contentID"` //Modifier string `json:"modifier"` //Nickname string `json:"nickname"` //CloudNickName string `json:"cloudNickName"` ContentName string `json:"contentName"` //ContentType int `json:"contentType"` //ContentSuffix string `json:"contentSuffix"` ContentSize int64 `json:"contentSize"` //ContentDesc string `json:"contentDesc"` //CreateTime string `json:"createTime"` //Shottime interface{} `json:"shottime"` LastUpdateTime string `json:"lastUpdateTime"` ThumbnailURL string `json:"thumbnailURL"` }
type Content ¶
type Content struct { ContentID string `json:"contentID"` ContentName string `json:"contentName"` //ContentSuffix string `json:"contentSuffix"` ContentSize int64 `json:"contentSize"` //ContentDesc string `json:"contentDesc"` //ContentType int `json:"contentType"` //ContentOrigin int `json:"contentOrigin"` UpdateTime string `json:"updateTime"` //CommentCount int `json:"commentCount"` ThumbnailURL string `json:"thumbnailURL"` }
type GetDiskResp ¶
type GetDiskResp struct { BaseResp Data struct { Result struct { ResultCode string `json:"resultCode"` ResultDesc interface{} `json:"resultDesc"` } `json:"result"` GetDiskResult struct { ParentCatalogID string `json:"parentCatalogID"` NodeCount int `json:"nodeCount"` CatalogList []Catalog `json:"catalogList"` ContentList []Content `json:"contentList"` IsCompleted int `json:"isCompleted"` } `json:"getDiskResult"` } `json:"data"` }
type QueryContentListResp ¶
type QueryContentListResp struct { BaseResp Data struct { Result struct { ResultCode string `json:"resultCode"` ResultDesc string `json:"resultDesc"` } `json:"result"` Path string `json:"path"` CloudContentList []CloudContent `json:"cloudContentList"` CloudCatalogList []CloudCatalog `json:"cloudCatalogList"` TotalCount int `json:"totalCount"` RecallContent interface{} `json:"recallContent"` } `json:"data"` }
type UploadResp ¶
type UploadResp struct { BaseResp Data struct { Result struct { ResultCode string `json:"resultCode"` ResultDesc interface{} `json:"resultDesc"` } `json:"result"` UploadResult struct { UploadTaskID string `json:"uploadTaskID"` RedirectionURL string `json:"redirectionUrl"` NewContentIDList []struct { ContentID string `json:"contentID"` ContentName string `json:"contentName"` IsNeedUpload string `json:"isNeedUpload"` FileEtag int64 `json:"fileEtag"` FileVersion int64 `json:"fileVersion"` OverridenFlag int `json:"overridenFlag"` } `json:"newContentIDList"` CatalogIDList interface{} `json:"catalogIDList"` IsSlice interface{} `json:"isSlice"` } `json:"uploadResult"` } `json:"data"` }
type Yun139 ¶
func (*Yun139) GetAddition ¶
func (d *Yun139) GetAddition() driver.Additional
Click to show internal directories.
Click to hide internal directories.