integration

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2021 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTP            = "HTTP"
	InfluxDB        = "INFLUXDB"
	ThingsBoard     = "THINGSBOARD"
	MyDevices       = "MYDEVICES"
	LoRaCloud       = "LORACLOUD"
	GCPPubSub       = "GCP_PUBSUB"
	AWSSNS          = "AWS_SNS"
	AzureServiceBus = "AZURE_SERVICE_BUS"
)

Handler kinds

Variables

This section is empty.

Functions

func ForApplicationID

func ForApplicationID(id int64) models.Integration

ForApplicationID returns the integration handler for the given application ID. The returned handler will be a "multi-handler", containing both the global integrations and the integrations setup specifically for the given application ID. When the given application ID equals 0, only the global integrations are returned.

func SetMockIntegration

func SetMockIntegration(i models.Integration)

SetMockIntegration mocks the integration.

func Setup

func Setup(conf config.Config) error

Setup configures the integration package.

Types

This section is empty.

Directories

Path Synopsis
Package awssns implements an AWS NSN integration.
Package awssns implements an AWS NSN integration.
Package azureservicebus implements an Azure Service-Bus integration.
Package azureservicebus implements an Azure Service-Bus integration.
Package http implements a HTTP integration.
Package http implements a HTTP integration.
Package influxdb implements a InfluxDB integration.
Package influxdb implements a InfluxDB integration.
Package logger implements an integration which writes logs to Redis.
Package logger implements an integration which writes logs to Redis.
Package multi implements a multi-integration handler.
Package multi implements a multi-integration handler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL