engine

package
v0.0.0-...-d1ba03b Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBasicEngine

func NewBasicEngine(face ndn.Face) ndn.Engine

Constructs a basic Engine using the provided Face and a new Timer for managing time-based operations.

func NewDefaultFace

func NewDefaultFace() ndn.Face

Constructs a default Face using the transport URI specified in the client configuration, creating Unix domain socket or TCP-based connections depending on the URI scheme.

func NewUnixFace

func NewUnixFace(addr string) ndn.Face

Constructs an NDN face using a Unix domain socket at the specified address for stream-based communication.

Types

type ClientConfig

type ClientConfig struct {
	TransportUri string
}

func GetClientConfig

func GetClientConfig() ClientConfig

Constructs a ClientConfig with a transport URI determined by OS-specific defaults, config files in increasing priority directories, and environment variable overrides.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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