Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Name is the name of p2c balancer.
Name = "p2c"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PickerBuilderP2c ¶
type PickerBuilderP2c struct{}
func (*PickerBuilderP2c) Build ¶
func (b *PickerBuilderP2c) Build(info base.PickerBuildInfo) balancer.Picker
Build 每次服务更新的时候也会调用(启动的时候其实服务就会发生更新)
Click to show internal directories.
Click to hide internal directories.