Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBasicEngine ¶
(AI GENERATED DESCRIPTION): Creates a new BasicEngine using the supplied Face and a default timer.
func NewDefaultFace ¶ added in v1.4.2
(AI GENERATED DESCRIPTION): Creates a default NDN Face from the client configuration’s transport URI, returning a UnixFace for a “unix” scheme or a StreamFace for “tcp”, “tcp4”, or “tcp6” schemes, and exiting with an error for unsupported URIs.
func NewUnixFace ¶
(AI GENERATED DESCRIPTION): Creates a new NDN stream face that communicates over a Unix domain socket at the specified address.
Types ¶
type ClientConfig ¶ added in v1.4.2
type ClientConfig struct {
TransportUri string
}
func GetClientConfig ¶ added in v1.4.2
func GetClientConfig() ClientConfig
(AI GENERATED DESCRIPTION): Retrieves the NDN client configuration, starting with a default transport URI and overriding it with values from `client.conf` files in prioritized directories and the `NDN_CLIENT_TRANSPORT` environment variable.