executor

package
v1.4.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(args []string)

Types

type DvConfig

type DvConfig struct {
	// NFD related options
	Nfd struct {
		Unix string `json:"unix"`
	} `json:"nfd"`

	// Underlying configuration
	Config *config.Config `json:"config"`
}

func DefaultConfig

func DefaultConfig() DvConfig

func (DvConfig) Parse

func (dc DvConfig) Parse() error

type DvExecutor

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

func NewDvExecutor

func NewDvExecutor(dc DvConfig) (*DvExecutor, error)

func (*DvExecutor) Router

func (dve *DvExecutor) Router() *dv.Router

func (*DvExecutor) Start

func (dve *DvExecutor) Start() error

func (*DvExecutor) Stop

func (dve *DvExecutor) Stop()

Jump to

Keyboard shortcuts

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