Documentation ¶
Index ¶
Constants ¶
View Source
const (
Namespace string = "_Locker"
)
Variables ¶
View Source
var (
ErrStatusBusy = errors.New("status busy")
)
Functions ¶
func MutexTryLock ¶
func MutexUnlock ¶
Types ¶
type Backend ¶
type LockerBackend ¶
type LockerBackend struct {
// contains filtered or unexported fields
}
func (LockerBackend) Del ¶
func (w LockerBackend) Del(key []byte) error
func (LockerBackend) TrySetWithTTL ¶
func (w LockerBackend) TrySetWithTTL(key, value []byte, ttl uint32) error
Click to show internal directories.
Click to hide internal directories.