Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LightCommand ¶
type LightCommand struct {
Light *Light
// contains filtered or unexported fields
}
func (*LightCommand) Execute ¶
func (lc *LightCommand) Execute()
func (*LightCommand) Undo ¶
func (lc *LightCommand) Undo()
type RemoteControl ¶
type RemoteControl struct {
// contains filtered or unexported fields
}
func NewRemoteControl ¶
func NewRemoteControl(commandAmount int) *RemoteControl
func (*RemoteControl) Press ¶
func (rc *RemoteControl) Press(i int)
func (*RemoteControl) SetCommand ¶
func (rc *RemoteControl) SetCommand(site int, command Command) error
func (*RemoteControl) UndoPress ¶
func (rc *RemoteControl) UndoPress()
Click to show internal directories.
Click to hide internal directories.