Documentation
¶
Overview ¶
Package control coordinates graceful shutdown between servef processes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDirectory ¶
DefaultDirectory returns the per-user directory for control records.
Types ¶
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
Instance is a registered servef process.
func (*Instance) StopRequested ¶
func (i *Instance) StopRequested() <-chan struct{}
StopRequested reports authenticated shutdown requests.
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry stores private control records for running servef processes.
func NewRegistry ¶
NewRegistry constructs a registry rooted at directory.
Click to show internal directories.
Click to hide internal directories.