Documentation
¶
Index ¶
- type Manager
- func (m *Manager) Action(id, action string, p map[string]any) error
- func (m *Manager) AddCommand(id string, command domain.QuickCommand) (domain.QuickCommand, error)
- func (m *Manager) Close()
- func (m *Manager) Connect(id string) error
- func (m *Manager) Create(s domain.Server) (domain.Snapshot, error)
- func (m *Manager) Delete(id string) error
- func (m *Manager) DeleteCommand(id, commandID string) error
- func (m *Manager) Disconnect(id string) error
- func (m *Manager) Get(id string) (domain.Snapshot, bool)
- func (m *Manager) List() []domain.Snapshot
- func (m *Manager) StartAutoConnect()
- func (m *Manager) Subscribe() (chan domain.Event, func())
- func (m *Manager) Update(id string, s domain.Server) (domain.Snapshot, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) AddCommand ¶
func (m *Manager) AddCommand(id string, command domain.QuickCommand) (domain.QuickCommand, error)
func (*Manager) DeleteCommand ¶
func (*Manager) Disconnect ¶
func (*Manager) StartAutoConnect ¶
func (m *Manager) StartAutoConnect()
Click to show internal directories.
Click to hide internal directories.