identity

package
v0.0.0-...-2e52d37 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDs

type IDs []NodeID

func (IDs) Len

func (a IDs) Len() int

func (IDs) Swap

func (a IDs) Swap(i, j int)

type NodeID

type NodeID string

NodeID represents a generic identifier in format of Zone.Node

func NewNodeID

func NewNodeID(node int) NodeID

NewNodeID returns a new NodeID type given two int number of zone and node

func (NodeID) Node

func (i NodeID) Node() int

Node returns Node NodeID component

Jump to

Keyboard shortcuts

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