Documentation
¶
Index ¶
- type Addition
- type BaseResp
- type Doubao
- func (d *Doubao) ArchiveDecompress(ctx context.Context, srcObj, dstDir model.Obj, ...) ([]model.Obj, error)
- func (d *Doubao) Config() driver.Config
- func (d *Doubao) Copy(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error)
- func (d *Doubao) Drop(ctx context.Context) error
- func (d *Doubao) Extract(ctx context.Context, obj model.Obj, args model.ArchiveInnerArgs) (*model.Link, error)
- func (d *Doubao) GetAddition() driver.Additional
- func (d *Doubao) GetArchiveMeta(ctx context.Context, obj model.Obj, args model.ArchiveArgs) (model.ArchiveMeta, error)
- func (d *Doubao) Init(ctx context.Context) error
- func (d *Doubao) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)
- func (d *Doubao) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
- func (d *Doubao) ListArchive(ctx context.Context, obj model.Obj, args model.ArchiveInnerArgs) ([]model.Obj, error)
- func (d *Doubao) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error
- func (d *Doubao) Move(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *Doubao) Put(ctx context.Context, dstDir model.Obj, file model.FileStreamer, ...) (model.Obj, error)
- func (d *Doubao) Remove(ctx context.Context, obj model.Obj) error
- func (d *Doubao) Rename(ctx context.Context, srcObj model.Obj, newName string) error
- type GetFileUrlResp
- type NodeInfo
- type NodeInfoResp
- type Object
- type UploadNodeResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Doubao ¶
func (*Doubao) ArchiveDecompress ¶
func (*Doubao) GetAddition ¶
func (d *Doubao) GetAddition() driver.Additional
func (*Doubao) GetArchiveMeta ¶
func (d *Doubao) GetArchiveMeta(ctx context.Context, obj model.Obj, args model.ArchiveArgs) (model.ArchiveMeta, error)
func (*Doubao) ListArchive ¶
type GetFileUrlResp ¶
type NodeInfo ¶
type NodeInfo struct {
ID string `json:"id"`
Name string `json:"name"`
Key string `json:"key"`
NodeType int `json:"node_type"` // 0: 文件, 1: 文件夹
Size int `json:"size"`
Source int `json:"source"`
NameReviewStatus int `json:"name_review_status"`
ContentReviewStatus int `json:"content_review_status"`
RiskReviewStatus int `json:"risk_review_status"`
ConversationID string `json:"conversation_id"`
ParentID string `json:"parent_id"`
CreateTime int `json:"create_time"`
UpdateTime int `json:"update_time"`
}
type NodeInfoResp ¶
type UploadNodeResp ¶
Click to show internal directories.
Click to hide internal directories.