knot

package module
v0.0.0-...-563cc57 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 16 Imported by: 0

README

knot

Knot a rope to remember things

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(chainID bk.Chain, data bk.Invariable, signature string) (bk.BID, *errors.Error)

Types

type Node

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

func GetNode

func GetNode(vnID vn.ID, chain kt.Chain) (*Node, *errors.Error)

func NewNode

func NewNode(vnID vn.ID, chain kt.Chain, ipfsNode *core.IpfsNode) (*Node, *errors.Error)

func (*Node) Close

func (n *Node) Close()

func (*Node) Node

func (n *Node) Node() *nd.Node

func (*Node) Notify

func (n *Node) Notify(letter *twelve.Letter) *errors.Error

func (*Node) Register

func (n *Node) Register(listener twelve.ITwelveListener)

type Rope

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

func NewRope

func NewRope(vnID vn.ID, chain kt.Chain) (*Rope, *errors.Error)

func (*Rope) GetChain

func (r *Rope) GetChain() kt.Chain

func (*Rope) GetHeight

func (r *Rope) GetHeight() kt.Height

func (*Rope) GetTail

func (r *Rope) GetTail() kt.KID

func (*Rope) Submit

func (r *Rope) Submit(inv kt.Invariable) *errors.Error

type Topic

type Topic string

func NewTopic

func NewTopic(vnID vn.ID, chain kt.Chain) Topic

func (Topic) S

func (t Topic) S() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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