mirror of
https://github.com/AlistGo/alist.git
synced 2025-12-21 20:50:08 +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
|
Drop(ctx context.Context) error
|
||||||
// GetAccount transform additional field to string and assign to account's addition
|
// GetAccount transform additional field to string and assign to account's addition
|
||||||
GetAccount() model.Account
|
GetAccount() model.Account
|
||||||
|
Config() Config
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user