Documentation
¶
Index ¶
- type Config
- type Integration
- func (i *Integration) Close() error
- func (i *Integration) DataDownChan() chan integration.DataDownPayload
- func (i *Integration) SendACKNotification(ctx context.Context, vars map[string]string, pl pb.AckEvent) error
- func (i *Integration) SendDataUp(ctx context.Context, vars map[string]string, pl pb.UplinkEvent) error
- func (i *Integration) SendErrorNotification(ctx context.Context, vars map[string]string, pl pb.ErrorEvent) error
- func (i *Integration) SendJoinNotification(ctx context.Context, vars map[string]string, pl pb.JoinEvent) error
- func (i *Integration) SendLocationNotification(ctx context.Context, vars map[string]string, pl pb.LocationEvent) error
- func (i *Integration) SendStatusNotification(ctx context.Context, vars map[string]string, pl pb.StatusEvent) error
- func (i *Integration) SendTxAckNotification(ctx context.Context, vars map[string]string, pl pb.TxAckEvent) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Endpoint string `json:"endpoint"`
}
Config contains the configuration for the MyDevices endpoint.
type Integration ¶
type Integration struct {
// contains filtered or unexported fields
}
Integration implements a MyDevices integration.
func (*Integration) DataDownChan ¶
func (i *Integration) DataDownChan() chan integration.DataDownPayload
DataDownChan is not implemented.
func (*Integration) SendACKNotification ¶
func (i *Integration) SendACKNotification(ctx context.Context, vars map[string]string, pl pb.AckEvent) error
SendACKNotification is not implemented.
func (*Integration) SendDataUp ¶
func (i *Integration) SendDataUp(ctx context.Context, vars map[string]string, pl pb.UplinkEvent) error
SendDataUp sends a data-up payload.
func (*Integration) SendErrorNotification ¶
func (i *Integration) SendErrorNotification(ctx context.Context, vars map[string]string, pl pb.ErrorEvent) error
SendErrorNotification is not implemented.
func (*Integration) SendJoinNotification ¶
func (i *Integration) SendJoinNotification(ctx context.Context, vars map[string]string, pl pb.JoinEvent) error
SendJoinNotification is not implemented.
func (*Integration) SendLocationNotification ¶
func (i *Integration) SendLocationNotification(ctx context.Context, vars map[string]string, pl pb.LocationEvent) error
SendLocationNotification is not implemented.
func (*Integration) SendStatusNotification ¶
func (i *Integration) SendStatusNotification(ctx context.Context, vars map[string]string, pl pb.StatusEvent) error
SendStatusNotification is not implemented.
func (*Integration) SendTxAckNotification ¶
func (i *Integration) SendTxAckNotification(ctx context.Context, vars map[string]string, pl pb.TxAckEvent) error
SendTxAckNotification is not implemented.
Click to show internal directories.
Click to hide internal directories.