Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlowController ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server deals with all incomming requests and performs calls to the various internal subsystems NB: Page generated base on mapping defined in internal/mapping.go
func NewServer ¶
func NewServer(l lights.ControllerI, f FlowController, snap Snapshoter, mapping [][]internal.Light) (*Server, error)
type Snapshoter ¶
type Snapshoter interface {
Snapshot() error
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.