@@ -1,5 +1,5 @@
|
|||||||
// Package influx_gateway_Lib provides an abstraction to the client influx.
|
// Package influx_gateway_Lib provides an abstraction to the client influx.
|
||||||
package influx_gateway
|
package influx
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
@@ -46,8 +46,7 @@ func NewInfluxGateway(url string, token string, database string) (*InfluxGateway
|
|||||||
batching.WithSize(BatchSize),
|
batching.WithSize(BatchSize),
|
||||||
batching.WithInitialCapacity(BatchCapacity),
|
batching.WithInitialCapacity(BatchCapacity),
|
||||||
),
|
),
|
||||||
},
|
}, nil
|
||||||
nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// AddDatapoint is used to add a datapoint in the batcher. It uses the
|
// AddDatapoint is used to add a datapoint in the batcher. It uses the
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
// Package mqtt_gateway provides an abstraction to an MQTT broker client.
|
// Package mqtt_gateway provides an abstraction to an MQTT broker client.
|
||||||
package mqtt_gateway
|
package mqtt
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"crypto/tls"
|
"crypto/tls"
|
||||||
Reference in New Issue
Block a user