Documentation ¶ Index ¶ type Builder func (*Builder) Build(n selector2.Node) selector2.WeightedNode type Node func (n *Node) Pick() selector2.DoneFunc func (n *Node) PickElapsed() time.Duration func (n *Node) Raw() selector2.Node func (n *Node) Weight() float64 Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Builder ¶ type Builder struct{} Builder is direct node builder func (*Builder) Build ¶ func (*Builder) Build(n selector2.Node) selector2.WeightedNode Build create node type Node ¶ type Node struct { selector2.Node // contains filtered or unexported fields } Node is endpoint instance func (*Node) Pick ¶ func (n *Node) Pick() selector2.DoneFunc func (*Node) PickElapsed ¶ func (n *Node) PickElapsed() time.Duration func (*Node) Raw ¶ func (n *Node) Raw() selector2.Node func (*Node) Weight ¶ func (n *Node) Weight() float64 Weight is node effective weight Source Files ¶ View all Source files direct.go Click to show internal directories. Click to hide internal directories.