mocks

package
v0.0.0-...-0ef0b1c Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfluxClient

type InfluxClient struct {
	WriteAPIBlockingFunc func(org string, bucket string) api.WriteAPIBlocking
	influxdb2.Client
}

func (*InfluxClient) WriteAPIBlocking

func (c *InfluxClient) WriteAPIBlocking(org string, bucket string) api.WriteAPIBlocking

type WriteAPI

type WriteAPI struct {
	WritePointFunc func(ctx context.Context, point ...*write.Point) error
	api.WriteAPIBlocking
}

func (*WriteAPI) WritePoint

func (w *WriteAPI) WritePoint(ctx context.Context, point ...*write.Point) error

Jump to

Keyboard shortcuts

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