Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Supervisor ¶
type Supervisor struct {
// contains filtered or unexported fields
}
Supervisor manages the lifecycle of a single Monitor, watching the config file for changes and adding/removing chats as needed.
func (*Supervisor) Run ¶
func (s *Supervisor) Run() error
Run creates and starts the monitor, adds initial chats, then watches the config file for changes. Blocks until the parent context is cancelled.
Click to show internal directories.
Click to hide internal directories.