Help us shape the future of Go! Take the 2026 Go Developer Survey

tailcat

package
v0.19.12 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package tailcat supplies stream transport only. Configuration and persistence are explicit; constructing a Node does not start networking.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

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

func Open

func Open(raw json.RawMessage, save func(json.RawMessage) error, mapURL string) (*Node, error)

func (*Node) Close

func (n *Node) Close() error

func (*Node) Dial

func (n *Node) Dial(ctx context.Context, peer, locator string) (net.Conn, error)

func (*Node) Listen

func (n *Node) Listen(ctx context.Context) (net.Listener, error)

func (*Node) Locator

func (n *Node) Locator() (string, error)

Jump to

Keyboard shortcuts

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