querier

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	ExecQuery(context.Context, string, []bigquery.QueryParameter) (*bigquery.RowIterator, error)
	Close() error
}

func NewClient

func NewClient(
	ctx context.Context,
	project,
	location string,
	opts ...Option,
) (Client, error)

type Option

type Option func(*options)

func WithLogger

func WithLogger(l *zap.Logger) Option

func WithMetrics

func WithMetrics(r metrics.Registerer) Option

Jump to

Keyboard shortcuts

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