node

package
v0.0.0-...-f59cc51 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Addr       string
	Weight     *int64
	Ver        string
	Name       string
	Met        map[string]interface{}
	Attributes *attributes.Attributes
}

Node is slector node

func (*Node) Address

func (n *Node) Address() string

Address is node address

func (*Node) GetAttr

func (n *Node) GetAttr() *attributes.Attributes

func (*Node) InitialWeight

func (n *Node) InitialWeight() *int64

InitialWeight is node initialWeight

func (*Node) Metadata

func (n *Node) Metadata() map[string]interface{}

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