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
CircuitBreakerConfig is used for storing the circuit breaker parameters for each qps level
type Client ¶
type Client interface { HTTPClient() *zanzibar.HTTPClient EchoString( ctx context.Context, reqHeaders map[string]string, args *clientsIDlClientsCorgeCorge.Corge_EchoString_Args, ) (context.Context, string, map[string]string, error) NoContent( ctx context.Context, reqHeaders map[string]string, args *clientsIDlClientsCorgeCorge.Corge_NoContent_Args, ) (context.Context, map[string]string, error) NoContentNoException( ctx context.Context, reqHeaders map[string]string, args *clientsIDlClientsCorgeCorge.Corge_NoContentNoException_Args, ) (context.Context, map[string]string, error) CorgeNoContentOnException( ctx context.Context, reqHeaders map[string]string, args *clientsIDlClientsCorgeCorge.Corge_NoContentOnException_Args, ) (context.Context, *clientsIDlClientsCorgeCorge.Foo, map[string]string, error) }
Client defines corge-http client interface.
func NewClient ¶
func NewClient(deps *module.Dependencies) Client
NewClient returns a new http client.
Directories ¶
Path | Synopsis |
---|---|
Package clientmock is a generated GoMock package.
|
Package clientmock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.