grpc

package
v0.0.56 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package grpc provides grpc client functions

Package grpc provides grpc client functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	client.Client
	client.ObjectReader
	client.Indexer
}

func New

func New(ctx context.Context, opts ...Option) (Client, error)

type Option

type Option func(*ngtdClient)

func WithAddr

func WithAddr(addr string) Option

func WithGRPCClientOption

func WithGRPCClientOption(opts ...grpc.Option) Option

Jump to

Keyboard shortcuts

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