Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VersionScaleBalancer ¶
type VersionScaleBalancer struct {
// contains filtered or unexported fields
}
func (*VersionScaleBalancer) Clone ¶
func (s *VersionScaleBalancer) Clone() balance2.Balancer
func (*VersionScaleBalancer) Name ¶
func (s *VersionScaleBalancer) Name() string
func (*VersionScaleBalancer) Pick ¶
func (s *VersionScaleBalancer) Pick(peers []*balance2.ServicePeer) (picked *balance2.ServicePeer, err error)
func (*VersionScaleBalancer) UpdateScales ¶
func (s *VersionScaleBalancer) UpdateScales(scales map[string]int) (b balance2.Balancer)
Click to show internal directories.
Click to hide internal directories.