feat(webdav): support range get

This commit is contained in:
Xhofe
2022-04-23 22:43:02 +08:00
parent 293d574ce7
commit 27b7dae113
26 changed files with 2268 additions and 22 deletions

View File

@ -19,8 +19,9 @@ type DriverConfig struct {
}
type Args struct {
Path string
IP string
Path string
IP string
Header http.Header
}
type Driver interface {

View File

@ -3,6 +3,7 @@ package base
import (
"errors"
"io"
"net/http"
)
var (
@ -49,4 +50,6 @@ type Link struct {
Headers []Header `json:"headers"`
Data io.ReadCloser
FilePath string `json:"path"` // for native
Status int
Header http.Header
}