Files
rustdesk-api/lib/lock/lock.go
2024-09-13 15:57:29 +08:00

10 lines
126 B
Go

package lock
import "sync"
type Locker interface {
GetLock(key string) *sync.Mutex
Lock(key string)
UnLock(key string)
}