package
Version:
v0.0.0-...-1dbc77d
Opens a new window with list of versions in this module.
Published: Nov 11, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package weightedroundrobin defines a weighted roundrobin balancer.
Name is the name of weighted_round_robin balancer.
SetAddrInfo returns a copy of addr in which the Attributes field is updated
with addrInfo.
Experimental ¶
Notice: This API is EXPERIMENTAL and may be changed or removed in a
later release.
type AddrInfo struct {
Weight uint32
}
AddrInfo will be stored inside Address metadata in order to use weighted
roundrobin balancer.
GetAddrInfo returns the AddrInfo stored in the Attributes fields of addr.
Experimental ¶
Notice: This API is EXPERIMENTAL and may be changed or removed in a
later release.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.