upstream

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const LoadBalancerRoundRobin = "round_robin"

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

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

func NewFactory

func NewFactory(discoveryManager *discovery.DiscoveryManager) *Factory

func (*Factory) NewUpstream

func (f *Factory) NewUpstream(upsConf config.UpstreamConfig) (*Upstream, error)

type Upstream

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

func (*Upstream) SelectNode

func (u *Upstream) SelectNode() *types.Node

Jump to

Keyboard shortcuts

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