mirror of https://github.com/Xhofe/alist
feat: driver config
parent
79965ab4b3
commit
ac0f984136
|
@ -0,0 +1,6 @@
|
|||
package driver
|
||||
|
||||
type Config struct {
|
||||
Name string
|
||||
LocalSort bool
|
||||
}
|
|
@ -32,4 +32,5 @@ type Other interface {
|
|||
Drop(ctx context.Context) error
|
||||
// GetAccount transform additional field to string and assign to account's addition
|
||||
GetAccount() model.Account
|
||||
Config() Config
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue