node

package
v2.4.1-0...-6c2315b Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllPeersAndTopicsJSON

type AllPeersAndTopicsJSON struct {
	AllPeers     []peer.ID        `json:"all_peers"`
	PeersByTopic []topicIndexJSON `json:"peers_by_topic"`
}

type Node

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

func NewNode

func NewNode(
	listenAddresses []string,
	peersIndex peersIndex,
	network p2pNetwork,
	topicIndex topicIndex,
	nodeProber *nodeprobe.Prober,
	clNodeName string,
	elNodeName string,
	eventSyncerNodeName string,
) *Node

func (*Node) Health

func (h *Node) Health(w http.ResponseWriter, r *http.Request) error

func (*Node) Identity

func (h *Node) Identity(w http.ResponseWriter, r *http.Request) error

func (*Node) Peers

func (h *Node) Peers(w http.ResponseWriter, r *http.Request) error

func (*Node) Topics

func (h *Node) Topics(w http.ResponseWriter, r *http.Request) error

Jump to

Keyboard shortcuts

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