mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2025-11-29 16:43:17 +00:00
10 lines
126 B
Go
10 lines
126 B
Go
package lock
|
|
|
|
import "sync"
|
|
|
|
type Locker interface {
|
|
GetLock(key string) *sync.Mutex
|
|
Lock(key string)
|
|
UnLock(key string)
|
|
}
|