mirror of
https://github.com/AlistGo/alist.git
synced 2025-12-19 11:00:06 +08:00
32 lines
630 B
Go
32 lines
630 B
Go
package wps
|
|
|
|
import (
|
|
"github.com/alist-org/alist/v3/internal/driver"
|
|
"github.com/alist-org/alist/v3/internal/op"
|
|
)
|
|
|
|
type Addition struct {
|
|
driver.RootPath
|
|
Cookie string `json:"cookie" required:"true" help:"kso_sid=xxxxx"`
|
|
}
|
|
|
|
var config = driver.Config{
|
|
Name: "Wps",
|
|
LocalSort: false,
|
|
OnlyLocal: false,
|
|
OnlyProxy: false,
|
|
NoCache: false,
|
|
NoUpload: true,
|
|
NeedMs: false,
|
|
DefaultRoot: "/",
|
|
CheckStatus: false,
|
|
Alert: "",
|
|
NoOverwriteUpload: false,
|
|
}
|
|
|
|
func init() {
|
|
op.RegisterDriver(func() driver.Driver {
|
|
return &Wps{}
|
|
})
|
|
}
|