Documentation ¶
Index ¶
- func NewMQTT(logger logger.Logger) bindings.InputOutputBinding
- type MQTT
- func (m *MQTT) Close() error
- func (m *MQTT) Init(metadata bindings.Metadata) (err error)
- func (m *MQTT) Invoke(parentCtx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
- func (m *MQTT) Operations() []bindings.OperationKind
- func (m *MQTT) Read(ctx context.Context, handler bindings.Handler) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MQTT ¶
type MQTT struct {
// contains filtered or unexported fields
}
MQTT allows sending and receiving data to/from an MQTT broker.
func (*MQTT) Invoke ¶
func (m *MQTT) Invoke(parentCtx context.Context, req *bindings.InvokeRequest) (*bindings.InvokeResponse, error)
func (*MQTT) Operations ¶
func (m *MQTT) Operations() []bindings.OperationKind
Click to show internal directories.
Click to hide internal directories.