alist/drivers/pikpak/meta.go

27 lines
459 B
Go
Raw Normal View History

2022-08-31 09:32:57 +00:00
package local
import (
"github.com/alist-org/alist/v3/internal/driver"
"github.com/alist-org/alist/v3/internal/op"
2022-08-31 09:32:57 +00:00
)
type Addition struct {
driver.RootFolderId
Username string `json:"username" required:"true"`
Password string `json:"password" required:"true"`
}
var config = driver.Config{
Name: "PikPak",
LocalSort: true,
DefaultRoot: "",
}
func New() driver.Driver {
return &PikPak{}
}
func init() {
op.RegisterDriver(config, New)
2022-08-31 09:32:57 +00:00
}