Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAlreadyLocked = errors.New("lock: key already locked") ErrLockOutsideTx = errors.New("lock: cannot lock outside transaction") )
Functions ¶
Types ¶
type Key ¶
type Key struct {
// contains filtered or unexported fields
}
func NewIntKeyPair ¶
func NewStrKeyPair ¶
Click to show internal directories.
Click to hide internal directories.