Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForwardEcho ¶
func ForwardEcho(srcName string, from echo.Caller, opts echo.CallOptions, clientProvider EchoClientProvider) (echo.CallResult, error)
Types ¶
type Caller ¶
type Caller struct {
// contains filtered or unexported fields
}
func (*Caller) CallEcho ¶
func (c *Caller) CallEcho(from echo.Caller, opts echo.CallOptions) (echo.CallResult, error)
type EchoClientProvider ¶
type EchoClientProvider func() (*echoclient.Client, error)
EchoClientProvider provides dynamic creation of Echo clients. This allows retries to potentially make use of different (ready) workloads for forward requests.
Click to show internal directories.
Click to hide internal directories.