http

package
v4.2.3-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 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() Balancer

type Resolver

type Resolver interface {
	ServeHTTP(w http.ResponseWriter, r *http.Request) (bool, error)
	Init(ctx context.Context, 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