random

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Overview

Package random implements Random load balance strategy.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRandomLoadBalance added in v3.0.1

func NewRandomLoadBalance() loadbalance.LoadBalance

NewRandomLoadBalance returns a random load balance instance.

Set random probabilities by weight, and the request will be sent to provider randomly.

Types

This section is empty.

Jump to

Keyboard shortcuts

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