Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MovementSensor ¶
type MovementSensor struct {
// contains filtered or unexported fields
}
func InitMove ¶
func InitMove(label string) (*MovementSensor, error)
func (*MovementSensor) Close ¶
func (m *MovementSensor) Close() error
func (*MovementSensor) Pause ¶
func (m *MovementSensor) Pause()
func (*MovementSensor) Resume ¶
func (m *MovementSensor) Resume()
func (*MovementSensor) Start ¶
func (m *MovementSensor) Start() error
func (*MovementSensor) WatchEvent ¶
func (m *MovementSensor) WatchEvent() <-chan EventType
type RFIDController ¶
type RFIDController struct {
// contains filtered or unexported fields
}
func InitRFID ¶
func InitRFID(strength int) (*RFIDController, error)
func (*RFIDController) Close ¶
func (r *RFIDController) Close() error
func (*RFIDController) RecvUID ¶
func (r *RFIDController) RecvUID() <-chan []byte
type StatusLeds ¶
type StatusLeds struct {
// contains filtered or unexported fields
}
func InitLeds ¶
func InitLeds(redName, greenName string) (*StatusLeds, error)
func (*StatusLeds) CheckMode ¶
func (s *StatusLeds) CheckMode() error
func (*StatusLeds) Close ¶
func (s *StatusLeds) Close() error
func (*StatusLeds) ErrorMode ¶
func (s *StatusLeds) ErrorMode() error
func (*StatusLeds) LockedMode ¶
func (s *StatusLeds) LockedMode() error
func (*StatusLeds) UnlockedMode ¶
func (s *StatusLeds) UnlockedMode() error
Click to show internal directories.
Click to hide internal directories.