Feat: add List method to Handler interface / implement local.List

This commit is contained in:
HFO4
2020-04-24 11:08:07 +08:00
parent 6006ff4d22
commit f7311f906b
11 changed files with 97 additions and 2 deletions

View File

@@ -22,6 +22,10 @@ type Driver struct {
HTTPClient request.Client
}
func (handler Driver) List(ctx context.Context, path string) ([]response.Object, error) {
panic("implement me")
}
// Get 获取文件
func (handler Driver) Get(ctx context.Context, path string) (response.RSCloser, error) {
// 获取文件源地址