Documentation
¶
Index ¶
- type Addition
- type Strm
- func (d *Strm) Config() driver.Config
- func (d *Strm) Copy(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *Strm) Drop(ctx context.Context) error
- func (d *Strm) Get(ctx context.Context, path string) (model.Obj, error)
- func (d *Strm) GetAddition() driver.Additional
- func (d *Strm) Init(ctx context.Context) error
- func (d *Strm) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)
- func (d *Strm) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
- func (d *Strm) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error
- func (d *Strm) Move(ctx context.Context, srcObj, dstDir model.Obj) error
- func (d *Strm) Put(ctx context.Context, dstDir model.Obj, s model.FileStreamer, ...) error
- func (d *Strm) Remove(ctx context.Context, obj model.Obj) error
- func (d *Strm) 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 Addition ¶
type Addition struct {
Paths string `json:"paths" required:"true" type:"text"`
SiteUrl string `json:"siteUrl" type:"text" required:"false" help:"The prefix URL of the strm file"`
FilterFileTypes string `json:"filterFileTypes" type:"text" default:"strm" required:"false" help:"Supports suffix name of strm file"`
EncodePath bool `json:"encodePath" default:"true" required:"true" help:"encode the path in the strm file"`
}
Click to show internal directories.
Click to hide internal directories.