Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProfileChangeCallback ¶
type ProfileChangeCallback func(profileID string)
ProfileChangeCallback is called when the active profile changes
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the HTTP API server
func NewServer ¶
func NewServer(windowMgr *window.Manager, configMgr *config.Manager, displayMgr interface{}, mjpegOut *output.MJPEGOutput, overlayMgr *overlay.Manager) *Server
NewServer creates a new API server
func (*Server) SetOnProfileChange ¶
func (s *Server) SetOnProfileChange(callback ProfileChangeCallback)
SetOnProfileChange sets the callback for profile changes
Click to show internal directories.
Click to hide internal directories.