registry

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package registry implements the node registry test utils.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMockRegistry

func CreateMockRegistry(t *testing.T, nodes []r.Node) *registryMocks.MockNodeRegistry

func CreateNode

func CreateNode(nodeID uint32, port int, privateKey *ecdsa.PrivateKey) r.Node

func GetHealthyNode added in v0.5.1

func GetHealthyNode(nodeID uint32) registry.Node

func GetUnhealthyNode added in v0.5.1

func GetUnhealthyNode(nodeID uint32) registry.Node

Types

This section is empty.

Jump to

Keyboard shortcuts

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