Documentation ¶
Index ¶
- type HATInterface
- type Hat
- type HatMock
- func (hm *HatMock) Close()
- func (hm *HatMock) ConsumeDisplayMessages()
- func (hm *HatMock) GetLastMsg() *datatype.DisplayMessage
- func (hm *HatMock) GoDown()
- func (hm *HatMock) GoLeft()
- func (hm *HatMock) GoRight()
- func (hm *HatMock) GoUp()
- func (hm *HatMock) Press()
- func (hm *HatMock) SetChannels(e chan<- datatype.HatEvent, s <-chan *datatype.DisplayMessage)
- func (hm *HatMock) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HATInterface ¶
type HATInterface interface { SetChannels(e chan<- datatype.HatEvent, s <-chan *datatype.DisplayMessage) Start() }
type Hat ¶
type Hat struct {
// contains filtered or unexported fields
}
func (*Hat) SetChannels ¶
func (h *Hat) SetChannels(e chan<- datatype.HatEvent, s <-chan *datatype.DisplayMessage)
type HatMock ¶
type HatMock struct {
// contains filtered or unexported fields
}
func (*HatMock) ConsumeDisplayMessages ¶
func (hm *HatMock) ConsumeDisplayMessages()
func (*HatMock) GetLastMsg ¶
func (hm *HatMock) GetLastMsg() *datatype.DisplayMessage
func (*HatMock) SetChannels ¶
func (hm *HatMock) SetChannels(e chan<- datatype.HatEvent, s <-chan *datatype.DisplayMessage)
Click to show internal directories.
Click to hide internal directories.