Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMessage ¶
NewMessage creates a new steering order
Types ¶
type Actionner ¶
type Actionner interface { types.Enablable Move(clockwise bool, speedInStepBySeconds uint32, duration time.Duration) error }
Actionner is an interface of something that can be Enable(d)/Disable(d) and Move(d)
type Steering ¶
type Steering struct {
// contains filtered or unexported fields
}
Steering is the component driving the steering wheel through an Actionner
func (*Steering) SetInputChan ¶
func (m *Steering) SetInputChan(c chan interface{})
SetInputChan sets the channel where this component will be getting its steering order from
func (*Steering) SetPanicChan ¶
func (m *Steering) SetPanicChan(c chan interface{})
SetPanicChan sets the channel where panics will be sent
Click to show internal directories.
Click to hide internal directories.