Documentation ¶ Index ¶ func NewRandom(config *config.Config, proxyFunc proxy.ProxyFunc) types.IBalancer type Random func (r *Random) Serve() func(ctx *fasthttp.RequestCtx) func (r *Random) Stats() []types.ProxyStat Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewRandom ¶ func NewRandom(config *config.Config, 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) Stats ¶ func (r *Random) Stats() []types.ProxyStat Source Files ¶ View all Source files random.go Click to show internal directories. Click to hide internal directories.