netctrl

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionAttemptResult

type ConnectionAttemptResult interface {
	String() string
	Success() bool
}

type NetworkController

type NetworkController interface {
	Connect(ctx context.Context, connectionName string, code string)
	ConnectionResults() <-chan ConnectionAttemptResult
}

func DefaultNetworkController

func DefaultNetworkController(ctx context.Context) NetworkController

func NmcliOpenVpnNetworkManagerConnectorNew

func NmcliOpenVpnNetworkManagerConnectorNew(ctx context.Context) NetworkController

Jump to

Keyboard shortcuts

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