istio: Index | Files

package forwarder

import ""


Package Files

grpc.go http.go instance.go protocol.go tcp.go util.go websocket.go

type Config Uses

type Config struct {
    Request *proto.ForwardEchoRequest
    UDS     string
    TLSCert string
    Dialer  common.Dialer

Config for a forwarder Instance.

type Instance Uses

type Instance struct {
    // contains filtered or unexported fields

Instance processes a single proto.ForwardEchoRequest, sending individual echo requests to the destination URL.

func New Uses

func New(cfg Config) (*Instance, error)

New creates a new forwarder Instance.

func (*Instance) Close Uses

func (i *Instance) Close() error

func (*Instance) Run Uses

func (i *Instance) Run(ctx context.Context) (*proto.ForwardEchoResponse, error)

Run the forwarder and collect the responses.

Package forwarder imports 30 packages (graph) and is imported by 2 packages. Updated 2021-01-18. Refresh now. Tools for package owners.