Documentation
¶
Index ¶
- type DMXPlaygroundController
- func (c *DMXPlaygroundController) PlayPreset(r *http.Request, req *PlayOnceRequest, response *api.Empty) error
- func (c *DMXPlaygroundController) PlayScene(r *http.Request, req *PlayOnceRequest, response *api.Empty) error
- func (c *DMXPlaygroundController) SetChannelValue(r *http.Request, value *artnet.ChannelValue, response *api.Empty) error
- func (c *DMXPlaygroundController) SetChannelValues(r *http.Request, values *[]artnet.ChannelValue, response *api.Empty) error
- type PlayOnceRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DMXPlaygroundController ¶
type DMXPlaygroundController struct {
// contains filtered or unexported fields
}
DMXPlaygroundController to play around and test DMX settings
func NewDMXPlaygroundController ¶
func NewDMXPlaygroundController(logger logging.Logger, controller artnet.Controller, loader api.Loader) *DMXPlaygroundController
NewDMXPlaygroundController returns a new DMXPlaygroundController instance
func (*DMXPlaygroundController) PlayPreset ¶
func (c *DMXPlaygroundController) PlayPreset(r *http.Request, req *PlayOnceRequest, response *api.Empty) error
PlayPreset plays the given Preset once
func (*DMXPlaygroundController) PlayScene ¶
func (c *DMXPlaygroundController) PlayScene(r *http.Request, req *PlayOnceRequest, response *api.Empty) error
PlayScene plays the given Scene once
func (*DMXPlaygroundController) SetChannelValue ¶
func (c *DMXPlaygroundController) SetChannelValue(r *http.Request, value *artnet.ChannelValue, response *api.Empty) error
SetChannelValue sets a single artnet/dmx value
func (*DMXPlaygroundController) SetChannelValues ¶
func (c *DMXPlaygroundController) SetChannelValues(r *http.Request, values *[]artnet.ChannelValue, response *api.Empty) error
SetChannelValues sets multiple artnet/dmx values
Click to show internal directories.
Click to hide internal directories.