mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-21 20:18:47 +08:00

* fix(aliyundrive):an error occurred when running multiple instances at the same time * Update util.go fix(aliyunpan):clear retry count
17 lines
257 B
Go
17 lines
257 B
Go
package aliyundrive
|
|
|
|
import (
|
|
"crypto/ecdsa"
|
|
|
|
"github.com/alist-org/alist/v3/pkg/generic_sync"
|
|
)
|
|
|
|
type State struct {
|
|
deviceID string
|
|
signature string
|
|
retry int
|
|
privateKey *ecdsa.PrivateKey
|
|
}
|
|
|
|
var global = generic_sync.MapOf[string, *State]{}
|