alist/drivers/pikpak/meta.go

26 lines
508 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
Username string `json:"username" required:"true"`
Password string `json:"password" required:"true"`
DisableMediaLink bool `json:"disable_media_link"`
2022-08-31 09:32:57 +00:00
}
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
}