Documentation
¶
Overview ¶
Package server provides HTTP server for theme rendering with WebSocket sensor data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server serves theme files and streams sensor data via WebSocket.
func (*Server) BroadcastSensorData ¶
BroadcastSensorData sends sensor data to all connected WebSocket clients.
func (*Server) ClientCount ¶
ClientCount returns the number of connected WebSocket clients.
Click to show internal directories.
Click to hide internal directories.