2021-02-24 18:47:03 +08:00
|
|
|
// Package easylock...
|
|
|
|
//
|
|
|
|
// Description : easylock...
|
|
|
|
//
|
|
|
|
// Author : go_developer@163.com<张德满>
|
|
|
|
//
|
|
|
|
// Date : 2021-02-24 6:29 下午
|
|
|
|
package easylock
|
|
|
|
|
|
|
|
type EasyLock interface {
|
2021-02-24 23:44:14 +08:00
|
|
|
Lock(flag string) error
|
|
|
|
Unlock(flag string) error
|
|
|
|
RLock(flag string) error
|
|
|
|
RUnlock(flag string) error
|
2021-02-24 18:47:03 +08:00
|
|
|
}
|