examples

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Target

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

func NewProxyTarget

func NewProxyTarget(id uint64, weight uint16, active bool, uri string) *Target

func NewTarget

func NewTarget(id uint64, weight uint16, active bool) *Target

func (*Target) Active

func (t *Target) Active() bool

func (*Target) ID

func (t *Target) ID() uint64

func (*Target) ServeHTTP

func (t *Target) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*Target) String

func (t *Target) String() string

func (*Target) URL

func (t *Target) URL() *url.URL

func (*Target) Weight

func (t *Target) Weight() uint16

Jump to

Keyboard shortcuts

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