File size: 523 Bytes
7107f0b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package homecloud

import (
	"github.com/alist-org/alist/v3/internal/driver"
	"github.com/alist-org/alist/v3/internal/op"
)

// https://homecloud.komect.com/
type Addition struct {
	//Account       string `json:"account" required:"true"`
	RefreshToken string `json:"refresh_token" required:"true"`
	driver.RootID
	GroupID string `json:"groupId" required:"true"`
}

var config = driver.Config{
	Name:      "homecloud",
	LocalSort: true,
}

func init() {
	op.RegisterDriver(func() driver.Driver {
		return &HomeCloud{}
	})
}