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
|
|
nonce int
|
|
privateKey *ecdsa.PrivateKey
|
|
}
|
|
|
|
var global = generic_sync.MapOf[string, *State]{}
|