alist/drivers/pikpak/meta.go

25 lines
439 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-04 05:07:53 +00:00
driver.RootID
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 init() {
op.RegisterDriver(func() driver.Driver {
return &PikPak{}
})
2022-08-31 09:32:57 +00:00
}