executor

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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.

func NewYaNFD

func NewYaNFD(config *YaNFDConfig) *YaNFD

NewYaNFD creates a YaNFD. Don't call this function twice.

func (*YaNFD) Start

func (y *YaNFD) Start()

Start runs YaNFD. Note: this function may exit the program when there is error. This function is non-blocking.

func (*YaNFD) Stop

func (y *YaNFD) Stop()

Stop shuts down YaNFD.

type YaNFDConfig

type YaNFDConfig struct {
	Version           string
	ConfigFileName    string
	DisableEthernet   bool
	DisableUnix       bool
	LogFile           string
	CpuProfile        string
	MemProfile        string
	BlockProfile      string
	MemoryBallastSize int
}

YaNFDConfig is the configuration of YaNFD.

Jump to

Keyboard shortcuts

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