common

package
v0.0.0-...-100cc6e Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 13 Imported by: 3

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 NewCaller

func NewCaller() *Caller

func (*Caller) CallEcho

func (c *Caller) CallEcho(from echo.Caller, opts echo.CallOptions) (echo.CallResult, error)

func (*Caller) Close

func (c *Caller) Close() 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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