Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdYaNFD = &cobra.Command{ Use: "yanfd CONFIG-FILE", Short: "Yet another NDN Forwarding Daemon", GroupID: "run", Version: utils.NDNdVersion, Args: cobra.ExactArgs(1), Run: run, }
Functions ¶
This section is empty.
Types ¶
type Profiler ¶
type Profiler struct {
// contains filtered or unexported fields
}
func NewProfiler ¶
(AI GENERATED DESCRIPTION): Creates and returns a new Profiler instance initialized with the supplied configuration.
func (*Profiler) Start ¶
(AI GENERATED DESCRIPTION): Initializes CPU and block profiling according to the configuration: it creates the specified output file and starts CPU profiling, and if a block profile path is set, it enables block profiling and retrieves the block profile data.
type YaNFD ¶
type YaNFD struct {
// contains filtered or unexported fields
}
YaNFD is the wrapper class for the NDN Forwarding Daemon. Note: only one instance of this class should be created.
Click to show internal directories.
Click to hide internal directories.