mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-21 20:18:47 +08:00
feat: driver config
This commit is contained in:
parent
79965ab4b3
commit
ac0f984136
6
internal/driver/config.go
Normal file
6
internal/driver/config.go
Normal file
@ -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…
x
Reference in New Issue
Block a user