agent

package
v0.6.3-beta01 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

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

func New

func New(contype int) (*Agent, error)

New allocates instance of agent struct Parses shell environment and setups internal variables

func (*Agent) Close

func (agent *Agent) Close() error

Close closes connections to controller and stops all runners P.S. The naming dilemma: Stop vs Close And I choose Close, because I can use Closer interface

func (*Agent) Run

func (agent *Agent) Run()

Starts worker services and executes the message loop. This loop is terminated by Close()

Directories

Path Synopsis
autoping package implement both: controller.Command and controller.Service
autoping package implement both: controller.Command and controller.Service
mole is tunnel maker package.
mole is tunnel maker package.
ipfilter
Package ipfilter wraps iptables commands and is used to setup Syntropy releated rules
Package ipfilter wraps iptables commands and is used to setup Syntropy releated rules
router package is used to setup routes also actively monitores direct and (sdn) wireguard peers and setups best routing path
router package is used to setup routes also actively monitores direct and (sdn) wireguard peers and setups best routing path
* swireguard package is wireguard on steroids super-wireguard, smart-wireguar, Syntropy-wireguard This package is a helper for agent to configure (kernel or userspace) wireguard tunnels It also collects peer status, monitores latency, and other releated work *
* swireguard package is wireguard on steroids super-wireguard, smart-wireguar, Syntropy-wireguard This package is a helper for agent to configure (kernel or userspace) wireguard tunnels It also collects peer status, monitores latency, and other releated work *

Jump to

Keyboard shortcuts

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