Documentation
¶
Index ¶
- Variables
- type Alist
- func (a *Alist) CannotStream() string
- func (a *Alist) Exists(ctx context.Context, storagePath string) bool
- func (a *Alist) Init(ctx context.Context, cfg config.StorageConfig) error
- func (a *Alist) JoinStoragePath(p string) string
- func (a *Alist) ListFiles(ctx context.Context, dirPath string) ([]storagetypes.FileInfo, error)
- func (a *Alist) Name() string
- func (a *Alist) OpenFile(ctx context.Context, filePath string) (io.ReadCloser, int64, error)
- func (a *Alist) Save(ctx context.Context, reader io.Reader, storagePath string) error
- func (a *Alist) Type() storenum.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) CannotStream ¶ added in v0.23.0
Impl StorageCannotStream interface
func (*Alist) JoinStoragePath ¶ added in v0.11.0
func (*Alist) Type ¶ added in v0.11.0
func (a *Alist) Type() storenum.StorageType
Click to show internal directories.
Click to hide internal directories.