Documentation
¶
Index ¶
- func HandleRequest(conn net.Conn, req Request, manager *Manager)
- type Manager
- func (m *Manager) ActivateWorkspace(groupID, workspaceID string) error
- func (m *Manager) Close()
- func (m *Manager) CreateWorkspace(groupID, workspaceName string) error
- func (m *Manager) DeactivateWorkspace(groupID, workspaceID string) error
- func (m *Manager) GetState() State
- func (m *Manager) RemoveWorkspace(groupID, workspaceID string) error
- func (m *Manager) Subscribe(id string) chan State
- func (m *Manager) Unsubscribe(id string)
- type Request
- type State
- type SuccessResult
- type Workspace
- type WorkspaceGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) ActivateWorkspace ¶
func (*Manager) CreateWorkspace ¶
func (*Manager) DeactivateWorkspace ¶
func (*Manager) RemoveWorkspace ¶
func (*Manager) Unsubscribe ¶
type State ¶
type State struct {
Groups []*WorkspaceGroup `json:"groups"`
}
type SuccessResult ¶
type WorkspaceGroup ¶
Click to show internal directories.
Click to hide internal directories.