Files
OpenList/drivers/aliyundrive/global.go

17 lines
260 B
Go
Raw Normal View History

package aliyundrive
import (
"crypto/ecdsa"
"github.com/OpenListTeam/OpenList/pkg/generic_sync"
)
type State struct {
deviceID string
signature string
retry int
privateKey *ecdsa.PrivateKey
}
var global = generic_sync.MapOf[string, *State]{}