echoclient

package
Version: v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const CircuitBreakerConfigKey = "circuitbreaking-configurations"

CircuitBreakerConfigKey is key value for qps level to circuit breaker parameters mapping

Variables

This section is empty.

Functions

This section is empty.

Types

type CircuitBreakerConfig added in v1.0.0

type CircuitBreakerConfig struct {
	Parameters map[string]map[string]int
}

CircuitBreakerConfig is used for storing the circuit breaker parameters for each qps level

type Client

type Client interface {
	EchoEcho(
		ctx context.Context,
		request *gen.Request,
		opts ...yarpc.CallOption,
	) (*gen.Response, error)
}

Client defines echo client interface.

func NewClient

func NewClient(deps *module.Dependencies) Client

NewClient returns a new gRPC client for service echo

Source Files

Directories

Path Synopsis
Package clientmock is a generated GoMock package.
Package clientmock is a generated GoMock package.

Jump to

Keyboard shortcuts

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