Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAlreadyLocked indicates the lock is held by another process. ErrAlreadyLocked = errors.New("lock already held") )
Functions ¶
func ReadContent ¶
Types ¶
type Lock ¶
type Lock struct {
// contains filtered or unexported fields
}
func (*Lock) SetContent ¶
Click to show internal directories.
Click to hide internal directories.