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