executor

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

Functions

func Main

func Main(args []string)

Types

type Profiler

type Profiler struct {
	// contains filtered or unexported fields
}

func NewProfiler

func NewProfiler(config *YaNFDConfig) *Profiler

func (*Profiler) Start

func (p *Profiler) Start() (err error)

func (*Profiler) Stop

func (p *Profiler) Stop()

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
	LogFile string

	Config  *core.Config
	BaseDir 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