Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBasicEngine ¶
Constructs a basic Engine using the provided Face and a new Timer for managing time-based operations.
func NewDefaultFace ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.