engine

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine interface {
	Start(n domain.Node, tun bool) error
	Stage() error
	Block() error
	Swap(n domain.Node) error
	TunAdd() error
	TunRemove() error
	Close() error
}

type New

type New func(s domain.Settings, logPath string) Engine

type Probe

type Probe func(nodes []domain.Node, s domain.Settings, logPath string) (map[string]Result, error)

type Result

type Result struct {
	Alive bool
	MS    int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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