Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Lock ¶
type Lock struct {
ReadWriteSeekCloser
// contains filtered or unexported fields
}
Lock implement fcntl lock features
func (*Lock) LockContext ¶
LockContext repeat TryLock with retry delay until succeed or context Done
type ReadWriteSeekCloser ¶
type ReadWriteSeekCloser interface {
io.ReadWriteSeeker
io.Closer
}
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mock_fcntllock is a generated GoMock package.
|
Package mock_fcntllock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.