forwarder

package
v0.32.3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Forwarder

type Forwarder struct {
	// contains filtered or unexported fields
}

Forwarder forwards all requests to a set of upstream access nodes or observers

func NewForwarder

func NewForwarder(identities flow.IdentityList, timeout time.Duration, maxMsgSize uint) (*Forwarder, error)

func (*Forwarder) FaultTolerantClient

func (f *Forwarder) FaultTolerantClient() (access.AccessAPIClient, error)

FaultTolerantClient implements an upstream connection that reconnects on errors a reasonable amount of time.

Jump to

Keyboard shortcuts

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