alist/drivers/189/meta.go

27 lines
603 B
Go
Raw Normal View History

2022-09-06 06:39:21 +00:00
package _189
import (
"github.com/alist-org/alist/v3/internal/driver"
"github.com/alist-org/alist/v3/internal/op"
)
type Addition struct {
Username string `json:"username" required:"true"`
Password string `json:"password" required:"true"`
Cookie string `json:"cookie" help:"Fill in the cookie if need captcha"`
2022-09-06 06:39:21 +00:00
driver.RootID
}
var config = driver.Config{
Name: "189Cloud",
LocalSort: true,
DefaultRoot: "-11",
Alert: `info|You can try to use 189PC driver if this driver does not work.`,
2022-09-06 06:39:21 +00:00
}
func init() {
op.RegisterDriver(func() driver.Driver {
2022-09-06 06:39:21 +00:00
return &Cloud189{}
})
}