Documentation
¶
Index ¶
- type FindThisDevicePlugin
- func (p *FindThisDevicePlugin) Handle(ctx context.Context, dev device.Sender, pkt *protocol.Packet) error
- func (p *FindThisDevicePlugin) IncomingTypes() []string
- func (p *FindThisDevicePlugin) Name() string
- func (p *FindThisDevicePlugin) OnConnect(dev device.Sender)
- func (p *FindThisDevicePlugin) OnDisconnect(dev device.Sender)
- func (p *FindThisDevicePlugin) OutgoingTypes() []string
- func (p *FindThisDevicePlugin) Timeout() time.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FindThisDevicePlugin ¶
type FindThisDevicePlugin struct {
// contains filtered or unexported fields
}
func NewFindThisDevicePlugin ¶
func NewFindThisDevicePlugin(bus *events.Bus, logger *zap.Logger) *FindThisDevicePlugin
func (*FindThisDevicePlugin) IncomingTypes ¶
func (p *FindThisDevicePlugin) IncomingTypes() []string
func (*FindThisDevicePlugin) Name ¶
func (p *FindThisDevicePlugin) Name() string
func (*FindThisDevicePlugin) OnConnect ¶
func (p *FindThisDevicePlugin) OnConnect(dev device.Sender)
func (*FindThisDevicePlugin) OnDisconnect ¶
func (p *FindThisDevicePlugin) OnDisconnect(dev device.Sender)
func (*FindThisDevicePlugin) OutgoingTypes ¶
func (p *FindThisDevicePlugin) OutgoingTypes() []string
func (*FindThisDevicePlugin) Timeout ¶
func (p *FindThisDevicePlugin) Timeout() time.Duration
Click to show internal directories.
Click to hide internal directories.