Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotRunning = errors.New("mayor not running") ErrAlreadyRunning = errors.New("mayor already running") )
Common errors
Functions ¶
func SessionName ¶
func SessionName() string
SessionName returns the tmux session name for the mayor. This is a package-level function for convenience.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles mayor lifecycle operations.
func NewManager ¶
NewManager creates a new mayor manager for a town.
func (*Manager) SessionName ¶
SessionName returns the tmux session name for the mayor.
func (*Manager) Start ¶
Start starts the mayor session. agentOverride optionally specifies a different agent alias to use.
Click to show internal directories.
Click to hide internal directories.