grpc: google.golang.org/grpc/balancer/weightedroundrobin Index | Files

package weightedroundrobin

import "google.golang.org/grpc/balancer/weightedroundrobin"

Package weightedroundrobin defines a weighted roundrobin balancer.

Index

Package Files

weightedroundrobin.go

Constants

const Name = "weighted_round_robin"

Name is the name of weighted_round_robin balancer.

type AddrInfo Uses

type AddrInfo struct {
    Weight uint32
}

AddrInfo will be stored inside Address metadata in order to use weighted roundrobin balancer.

Package weightedroundrobin is imported by 1 packages. Updated 2019-08-07. Refresh now. Tools for package owners.