Documentation ¶ Index ¶ Constants func New(errHandler func(error) bool) balancer.Balancer type P2cPicker func (p *P2cPicker) Pick(ctx context.Context, nodes []naming.Instance) (*naming.Instance, func(di balancer.DoneInfo)) func (p *P2cPicker) PrintStats() func (p *P2cPicker) Schema() string Constants ¶ View Source const ( Name = "p2c" ) Variables ¶ This section is empty. Functions ¶ func New ¶ func New(errHandler func(error) bool) balancer.Balancer New p2c Types ¶ type P2cPicker ¶ type P2cPicker struct { // contains filtered or unexported fields } func (*P2cPicker) Pick ¶ func (p *P2cPicker) Pick(ctx context.Context, nodes []naming.Instance) (*naming.Instance, func(di balancer.DoneInfo)) func (*P2cPicker) PrintStats ¶ func (p *P2cPicker) PrintStats() func (*P2cPicker) Schema ¶ func (p *P2cPicker) Schema() string Source Files ¶ View all Source files p2c.go Click to show internal directories. Click to hide internal directories.