random

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRandom

func NewRandom(cfg *config.Config, middlewareExecutor *middleware.Executor, proxyFunc proxy.ProxyFunc) types.IBalancer

Types

type Random

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

func (*Random) Serve

func (r *Random) Serve() func(ctx *fasthttp.RequestCtx)

func (*Random) Shutdown added in v0.6.0

func (r *Random) Shutdown() error

func (*Random) Stats

func (r *Random) Stats() []types.ProxyStat

Jump to

Keyboard shortcuts

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