File size: 547 Bytes
7107f0b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package fastwebdav

import (
	"github.com/alist-org/alist/v3/internal/driver"
	"github.com/alist-org/alist/v3/internal/op"
)

type Addition struct {
	driver.RootPath
	Address string `json:"address" required:"true"`
	APIKey  string `json:"password" required:"true"`
}

var config = driver.Config{
	Name:        "FastWebdav",
	DefaultRoot: "/",
	NoUpload:    true,
	Alert:       "warning|只支持读文件不能进行其它操作,如:复制,移动,上传等",
}

func init() {
	op.RegisterDriver(func() driver.Driver {
		return &FastWebdav{}
	})
}