node

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New node

Types

type Node

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

Node is slector node

func (*Node) Address

func (n *Node) Address() string

Address is node address

func (*Node) InitialWeight

func (n *Node) InitialWeight() *int64

InitialWeight is node initialWeight

func (*Node) Metadata

func (n *Node) Metadata() map[string]string

Metadata is node metadata

func (*Node) ServiceName

func (n *Node) ServiceName() string

ServiceName is node serviceName

func (*Node) Version

func (n *Node) Version() string

Version is node version

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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