grpcc

package
v0.2.10-113 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const Name = "grpcc"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	grpc.ClientConnInterface
	Healthy(ctx context.Context) error
}

Client grpc client interface

func New added in v0.1.26

func New(cfg *grpcc_config.Cfg, p Params, middlewares ...lava.Middleware) Client

type Config added in v0.2.11

type Config = grpcc_config.Cfg

type Params added in v0.2.11

type Params struct {
	Log                 log.Logger
	MetricMiddleware    *middleware_metric.MetricMiddleware
	AccessLogMiddleware *middleware_accesslog.LogMiddleware
	Resolvers           []resolver.Builder
}

Directories

Path Synopsis
grpcc_lb
p2c

Jump to

Keyboard shortcuts

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