Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DispenserMachine ¶
type DispenserMachine struct {
// contains filtered or unexported fields
}
func NewDispenserMachine ¶
func NewDispenserMachine(config *DispenserMachineConfig) *DispenserMachine
func (*DispenserMachine) DiagnosticNoise ¶ added in v0.2.0
func (m *DispenserMachine) DiagnosticNoise()
func (*DispenserMachine) Start ¶
func (m *DispenserMachine) Start() error
func (*DispenserMachine) Stop ¶
func (m *DispenserMachine) Stop()
func (*DispenserMachine) ToggleBuzzer ¶
func (m *DispenserMachine) ToggleBuzzer(on bool)
func (*DispenserMachine) ToggleMotor ¶
func (m *DispenserMachine) ToggleMotor(on bool)
func (*DispenserMachine) TouchEvents ¶
func (m *DispenserMachine) TouchEvents() <-chan bool
type DispenserMachineConfig ¶ added in v0.4.6
type MockMachine ¶
type MockMachine struct {
// contains filtered or unexported fields
}
func NewMockMachine ¶
func NewMockMachine(listen string) *MockMachine
func (*MockMachine) DiagnosticNoise ¶ added in v0.2.0
func (m *MockMachine) DiagnosticNoise()
func (*MockMachine) Start ¶
func (m *MockMachine) Start() error
func (*MockMachine) Stop ¶
func (m *MockMachine) Stop()
func (*MockMachine) ToggleBuzzer ¶
func (m *MockMachine) ToggleBuzzer(on bool)
func (*MockMachine) ToggleMotor ¶
func (m *MockMachine) ToggleMotor(on bool)
func (*MockMachine) TouchEvents ¶
func (m *MockMachine) TouchEvents() <-chan bool
Click to show internal directories.
Click to hide internal directories.