http

package
v4.2.4-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: AGPL-3.0 Imports: 25 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 interface {
	Build(m map[string]*client.ServerAttributes) error
	PickService(name string) (*httputil.ReverseProxy, error)
	PickEndpoint(path string) (*httputil.ReverseProxy, error)
}

func NewBalancer

func NewBalancer(excludeID string) Balancer

type Resolver

type Resolver interface {
	ServeHTTP(w http.ResponseWriter, r *http.Request) (bool, error)
	Init(ctx context.Context, serverID string, s server.HttpMux)
	Stop()
}

func NewResolver

func NewResolver() Resolver

Jump to

Keyboard shortcuts

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