Documentation
¶
Index ¶
- type Client
- type Device
- type Light
- type Logger
- func (_m *Logger) Debugf(format string, args ...interface{})
- func (_m *Logger) Errorf(format string, args ...interface{})
- func (_m *Logger) Fatalf(format string, args ...interface{})
- func (_m *Logger) Infof(format string, args ...interface{})
- func (_m *Logger) Panicf(format string, args ...interface{})
- func (_m *Logger) Warnf(format string, args ...interface{})
- type Protocol
- func (_m *Protocol) Close() error
- func (_m *Protocol) Discover() error
- func (_m *Protocol) SetClient(client common.Client)
- func (_m *Protocol) SetColor(color common.Color, duration time.Duration) error
- func (_m *Protocol) SetPower(state bool) error
- func (_m *Protocol) SetPowerDuration(state bool, duration time.Duration) error
- type SubscriptionTarget
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { SubscriptionTarget mock.Mock }
type SubscriptionTarget ¶
func (*SubscriptionTarget) CloseSubscription ¶
func (_m *SubscriptionTarget) CloseSubscription(_a0 *common.Subscription) error
func (*SubscriptionTarget) NewSubscription ¶
func (_m *SubscriptionTarget) NewSubscription() (*common.Subscription, error)
Click to show internal directories.
Click to hide internal directories.