Documentation
¶
Index ¶
- func HandleRequest(conn net.Conn, req Request, manager *Manager)
- type Manager
- func (m *Manager) Close()
- func (m *Manager) GetState() State
- func (m *Manager) SetClientTags(outputName string, andTags uint32, xorTags uint32) error
- func (m *Manager) SetLayout(outputName string, index uint32) error
- func (m *Manager) SetTags(outputName string, tagmask uint32, toggleTagset uint32) error
- func (m *Manager) Subscribe(id string) chan State
- func (m *Manager) Unsubscribe(id string)
- type OutputState
- type Request
- type State
- type SuccessResult
- type TagState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) SetClientTags ¶
func (*Manager) Unsubscribe ¶
type OutputState ¶
type State ¶
type State struct {
Outputs map[string]*OutputState `json:"outputs"`
TagCount uint32 `json:"tagCount"`
Layouts []string `json:"layouts"`
ActiveOutput string `json:"activeOutput"`
}
type SuccessResult ¶
Click to show internal directories.
Click to hide internal directories.