Versions in this module Expand all Collapse all v0 v0.0.1 Nov 28, 2024 Changes in this version + type Addition struct + Cookie string + OrderBy string + OrderDirection string + ProjectID string + Region string + UseS3UploadMethod bool + type ChunkUpload struct + ChunkSize int + Chunks int + Created time.Time + DownloadUrl string + FileMD5 string + ImmPreviewUrl string + LastUpdated time.Time + LastUploadTime interface{} + MimeType string + PreviewExt string + PreviewUrl string + Storage string + ThumbnailUrl string + Token struct{ ... } + UploadedChunks []interface{} + type Collection struct + ID string + Title string + Updated time.Time + type ErrResp struct + Message string + Name string + type FileUpload struct + FileCategory string + FileKey string + FileName string + FileSize int + FileType string + ImageHeight int + ImageWidth int + InvolveMembers []interface{} + ParentId string + Source string + Visible string + type Teambition struct + func (d *Teambition) Config() driver.Config + func (d *Teambition) Copy(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *Teambition) Drop(ctx context.Context) error + func (d *Teambition) GetAddition() driver.Additional + func (d *Teambition) Init(ctx context.Context) error + func (d *Teambition) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) + func (d *Teambition) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) + func (d *Teambition) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error + func (d *Teambition) Move(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *Teambition) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error + func (d *Teambition) Remove(ctx context.Context, obj model.Obj) error + func (d *Teambition) Rename(ctx context.Context, srcObj model.Obj, newName string) error + type UploadToken struct + DownloadUrl string + Sdk struct{ ... } + Token string + Upload struct{ ... } + type Work struct + DownloadURL string + FileCategory string + FileKey string + FileName string + FileSize int64 + ID string + PreviewURL string + Thumbnail string + ThumbnailURL string + Updated time.Time