http

package
v4.0.0-alpha3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Balancer

type Balancer struct {
	ReadyProxies map[string]*ReverseProxy
}

func (*Balancer) PickEndpoint

func (b *Balancer) PickEndpoint(path string) *httputil.ReverseProxy

func (*Balancer) PickService

func (b *Balancer) PickService(name string) *httputil.ReverseProxy

type ReverseProxy

type ReverseProxy struct {
	*httputil.ReverseProxy
	Endpoints []string
	Services  []string
}

Jump to

Keyboard shortcuts

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