unit

package
v0.0.0-...-58a2b35 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EquleLogicID

func EquleLogicID(areas []*libp2parea.Area)

多次启动来对比各个节点的逻辑节点差异

func GetLogicNetID

func GetLogicNetID(id *nodeStore.AddressNet) (logicIds []*nodeStore.AddressNet)

得到保存数据的逻辑节点 @idStr id十六进制字符串 @return 4分之一节点

func GetLogicVnodeNetID

func GetLogicVnodeNetID(id *virtual_node.AddressNetExtend) (logicIds []*virtual_node.AddressNetExtend)

得到保存数据的逻辑节点 @idStr id十六进制字符串 @return 4分之一节点

func LoopSendSearch

func LoopSendSearch(areas []*libp2parea.Area)

多次查询逻辑节点并对比结果是否正确

func LoopSendSearchVnode

func LoopSendSearchVnode(areas []*libp2parea.Area)

多次查询逻辑虚拟节点并对比结果是否正确

Types

type Node

type Node struct {
	NetID   string
	LogicID []string
}

Jump to

Keyboard shortcuts

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