Versions in this module Expand all Collapse all v2 v2.0.0 Jun 18, 2023 Changes in this version + const PluginTasmota + func New(ctx context.Context, config *gwTY.Config) (providerTY.Plugin, error) + type Config struct + Protocol cmap.CustomMap + Type string + type Provider struct + Config *Config + GatewayConfig *gwTY.Config + Protocol gwPtl.Protocol + ProtocolType string + func (p *Provider) Close() error + func (p *Provider) ConvertToMessages(rawMsg *msgTY.RawMessage) ([]*msgTY.Message, error) + func (p *Provider) Name() string + func (p *Provider) Post(msg *msgTY.Message) error + func (p *Provider) Start(receivedMessageHandler func(rawMsg *msgTY.RawMessage) error) error + func (p *Provider) ToRawMessage(msg *msgTY.Message) (*msgTY.RawMessage, error)