nd

package
v1.0.4-0...-dc1bf15 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(id ID, pri ki.PRI)

Types

type ID

type ID string

func (ID) S

func (id ID) S() string

type Lead

type Lead struct {
	ID  ID
	ADR ki.ADR
	PUB ki.PUB
}

func (*Lead) S

func (l *Lead) S() string

type Node

type Node struct {
	ID  ID
	ADR ki.ADR
	PUB ki.PUB
	PRI ki.PRI
}

func Here

func Here() *Node

func NewNode

func NewNode(id ID, pri ki.PRI) (*Node, *errors.Error)

func (*Node) Lead

func (n *Node) Lead() *Lead

Jump to

Keyboard shortcuts

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