druid

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Datasource

func Datasource(prefix, dataType string) string

Types

type BrokerClient

type BrokerClient struct {
	*godruid.Client
}

func NewBrokerClient

func NewBrokerClient(
	ctx context.Context,
	url,
	username,
	password string) (*BrokerClient, error)

func (*BrokerClient) Close

func (c *BrokerClient) Close()

type CoordinatorClient

type CoordinatorClient struct {
	*godruid.CoordinatorClient
}

func NewCoordinatorClient

func NewCoordinatorClient(
	ctx context.Context,
	url,
	username,
	password string) (*CoordinatorClient, error)

func (*CoordinatorClient) Close

func (c *CoordinatorClient) Close()

type OverlordClient

type OverlordClient struct {
	*godruid.OverlordClient
}

func NewOverlordClient

func NewOverlordClient(
	ctx context.Context,
	url,
	username,
	password string) (*OverlordClient, error)

func (*OverlordClient) Close

func (c *OverlordClient) Close()

Jump to

Keyboard shortcuts

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