voiddb

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginVoidDB = "void_db"
)

Variables

This section is empty.

Functions

func NewClient

func NewClient(ctx context.Context, config cmap.CustomMap) (metricTY.Plugin, error)

NewClient creates a dummy client

Types

type Client

type Client struct {
}

Client for voiddb

func (*Client) Close

func (c *Client) Close() error

Close function

func (*Client) Name

func (c *Client) Name() string

func (*Client) Ping

func (c *Client) Ping() error

Ping function

func (*Client) Query

func (c *Client) Query(queryConfig *metricTY.QueryConfig) (map[string][]metricTY.ResponseData, error)

Query function

func (*Client) Write

func (c *Client) Write(data *metricTY.InputData) error

Write function

func (*Client) WriteBlocking

func (c *Client) WriteBlocking(data *metricTY.InputData) error

WriteBlocking function

Jump to

Keyboard shortcuts

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