worker

package
v0.0.0-...-a65126b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Load uint
	// contains filtered or unexported fields
}

func NewNode

func NewNode(url url.URL) *Node

func (*Node) GetURL

func (n *Node) GetURL() url.URL

type WeightedNode

type WeightedNode struct {
	// contains filtered or unexported fields
}

func NewWeightedNode

func NewWeightedNode(workerUrl url.URL, weight int) WeightedNode

func (WeightedNode) GetURL

func (n WeightedNode) GetURL() url.URL

func (WeightedNode) GetWeight

func (n WeightedNode) GetWeight() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL