Documentation
¶
Index ¶
- type Addition
- type Strm
- func (d *Strm) Config() driver.Config
- 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)
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"`
DownloadFileTypes string `` /* 126-byte string literal not displayed */
EncodePath bool `json:"encodePath" default:"true" required:"true" help:"encode the path in the strm file"`
LocalModel bool `json:"localModel" default:"false" help:"enable local mode"`
}
type Strm ¶
func (*Strm) GetAddition ¶
func (d *Strm) GetAddition() driver.Additional
Click to show internal directories.
Click to hide internal directories.