Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileLocker ¶
func NewLocker ¶
func NewLocker(filePath string) *FileLocker
func (*FileLocker) Lock ¶
func (l *FileLocker) Lock()
func (*FileLocker) Unlock ¶
func (l *FileLocker) Unlock()
type Locker ¶
type Locker interface {
Lock()
Unlock()
}
Source Files
¶
- locker.go
Click to show internal directories.
Click to hide internal directories.