Help us shape the future of Go! Take the 2026 Go Developer Survey

proxy

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMaxFailedCount = errors.New("proxy: reach max failed count")
)

Functions

This section is empty.

Types

type Proxy

type Proxy interface {
	ID() string
	Target() string
	Weight() uint32
	IsAvailable() bool
	AddFailedCount(count uint) error
	ServeHTTP(c context.Context, ctx *app.RequestContext)
	Tag(key string) (value string, exist bool)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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