Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alist-org
GitHub Repository: alist-org/alist
Path: blob/main/drivers/189/meta.go
1987 views
1
package _189
2
3
import (
4
"github.com/alist-org/alist/v3/internal/driver"
5
"github.com/alist-org/alist/v3/internal/op"
6
)
7
8
type Addition struct {
9
Username string `json:"username" required:"true"`
10
Password string `json:"password" required:"true"`
11
Cookie string `json:"cookie" help:"Fill in the cookie if need captcha"`
12
StripEmoji bool `json:"strip_emoji" help:"Remove four-byte characters (e.g., emoji) before upload"`
13
driver.RootID
14
}
15
16
var config = driver.Config{
17
Name: "189Cloud",
18
LocalSort: true,
19
DefaultRoot: "-11",
20
Alert: `info|You can try to use 189PC driver if this driver does not work.`,
21
}
22
23
func init() {
24
op.RegisterDriver(func() driver.Driver {
25
return &Cloud189{}
26
})
27
}
28
29