alist/drivers/pikpak/meta.go

27 lines
460 B
Go
Raw Normal View History

2022-09-01 14:13:37 +00:00
package pikpak
2022-08-31 09:32:57 +00:00
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 {
2022-09-02 10:24:14 +00:00
driver.RootFolderID
2022-08-31 09:32:57 +00:00
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
}