remote

package
v0.15.0-rc.9 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCServer

func NewGRPCServer(
	querier m3.Querier,
	queryContextOpts models.QueryContextOptions,
	poolWrapper *pools.PoolWrapper,
	instrumentOpts instrument.Options,
) *grpc.Server

NewGRPCServer builds a grpc server which must be started later.

Types

type Client

type Client interface {
	storage.Querier
	Close() error
}

Client is the remote GRPC client.

func NewGRPCClient

func NewGRPCClient(
	addresses []string,
	poolWrapper *pools.PoolWrapper,
	opts m3db.Options,
	additionalDialOpts ...grpc.DialOption,
) (Client, error)

NewGRPCClient creates a new remote GRPC client.

Jump to

Keyboard shortcuts

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