p2p

package
v0.0.0-...-314436a Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node interface {
	Run(context.Context) error
}

func New

func New(cfg *config.Config, state *networkstate.State, wgControl Wireguard) (Node, error)

type Wireguard

type Wireguard interface {
	AnnounceInfo() networkstate.WireguardState
	Update()
}

Jump to

Keyboard shortcuts

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