Files

10 lines
126 B
Go
Raw Permalink Normal View History

2024-09-13 15:57:29 +08:00
package lock
import "sync"
type Locker interface {
GetLock(key string) *sync.Mutex
Lock(key string)
UnLock(key string)
}