Documentation
¶
Overview ¶
Package pausectl provides functionality to manage pause locks with expiration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrLockExists = errors.New("lock already exists") ErrLockNotFound = errors.New("lock not found") )
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles the creation and management of pause locks
func NewManager ¶
NewManager creates a new Manager with the specified expiration and cleanup intervals
Click to show internal directories.
Click to hide internal directories.