Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfluxMetrics ¶
type InfluxMetrics struct {
// contains filtered or unexported fields
}
func NewInfluxClient ¶
func NewInfluxClient(server, token, org, bucket string) (*InfluxMetrics, error)
func (*InfluxMetrics) Client ¶
func (im *InfluxMetrics) Client() influxdb2.Client
func (*InfluxMetrics) Close ¶
func (im *InfluxMetrics) Close()
func (*InfluxMetrics) Writer ¶
func (im *InfluxMetrics) Writer() api.WriteAPI
Click to show internal directories.
Click to hide internal directories.