Documentation
¶
Index ¶
- Variables
- type Alist
- func (a *Alist) Init(cfg config.StorageConfig) error
- func (a *Alist) JoinStoragePath(task types.Task) string
- func (a *Alist) Name() string
- func (a *Alist) NewUploadStream(ctx context.Context, storagePath string) (io.WriteCloser, error)
- func (a *Alist) Save(ctx context.Context, filePath, storagePath string) error
- func (a *Alist) Type() types.StorageType
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrAlistLoginFailed = errors.New("failed to login to Alist")
)
Functions ¶
This section is empty.
Types ¶
type Alist ¶
type Alist struct {
// contains filtered or unexported fields
}
func (*Alist) JoinStoragePath ¶ added in v0.11.0
func (*Alist) NewUploadStream ¶ added in v0.15.0
func (*Alist) Type ¶ added in v0.11.0
func (a *Alist) Type() types.StorageType
Click to show internal directories.
Click to hide internal directories.