Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileLocker ¶
type FileLocker struct {
// contains filtered or unexported fields
}
func NewFileLocker ¶
func NewFileLocker(path string) *FileLocker
func (*FileLocker) Lock ¶
func (l *FileLocker) Lock()
func (*FileLocker) Unlock ¶
func (l *FileLocker) Unlock()
type PortLocker ¶
type PortLocker struct {
// contains filtered or unexported fields
}
func NewPortLocker ¶
func NewPortLocker(port int) *PortLocker
func (*PortLocker) Lock ¶
func (l *PortLocker) Lock()
func (*PortLocker) Unlock ¶
func (l *PortLocker) Unlock()
Click to show internal directories.
Click to hide internal directories.