engine

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Rebuilds added in v1.2.0

func Rebuilds(x, y domain.Settings) bool

Types

type Engine

type Engine interface {
	Apply(context.Context, SessionSpec) error
	Stop() error
	Running() bool
}

type New

type New func(context.Context, string) Engine

type Probe

type Result

type Result struct {
	Alive bool
	MS    int
}

type SessionSpec added in v1.2.0

type SessionSpec struct {
	Node     domain.Node
	Settings domain.Settings
	Tun      bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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