16 lines
290 B
Go
16 lines
290 B
Go
// Package easylock...
|
|
//
|
|
// Description : easylock...
|
|
//
|
|
// Author : go_developer@163.com<张德满>
|
|
//
|
|
// Date : 2021-02-24 6:29 下午
|
|
package easylock
|
|
|
|
type EasyLock interface {
|
|
Lock(flag string) error
|
|
Unlock(flag string) error
|
|
RLock(flag string) error
|
|
RUnlock(flag string) error
|
|
}
|