node

package
v0.7.176 Latest Latest
Warning

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

Go to latest
Published: May 31, 2026 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BusinessNode

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

func NewBusinessNode

func NewBusinessNode(
	ctx context.Context,
	privKey ed25519.PrivateKey,
	psk security.PSK,
	ownNodeId warpnet.WarpPeerID,
	selfHashHex string,
	version *semver.Version,
	authRepo member.AuthProvider,
	db member.Storer,
	bootstrapNodes []warpnet.WarpAddrInfo,
	metrics member.MetricsOnlinePusher,
) (*BusinessNode, error)

func (*BusinessNode) NodeInfo

func (b *BusinessNode) NodeInfo() warpnet.NodeInfo

func (*BusinessNode) SelfStream

func (b *BusinessNode) SelfStream(path stream.WarpRoute, data any) ([]byte, error)

func (*BusinessNode) Start

func (b *BusinessNode) Start() error

func (*BusinessNode) Stop

func (b *BusinessNode) Stop()

Jump to

Keyboard shortcuts

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