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 ¶
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, ) (context.Context, *gen.Response, error) }
Client defines echo client interface.
func NewClient ¶
func NewClient(deps *Dependencies) Client
NewClient returns a new gRPC client for service echo
type Dependencies ¶
type Dependencies struct {
Default *zanzibar.DefaultDependencies
}
Dependencies contains dependencies for the echo client module
Click to show internal directories.
Click to hide internal directories.