vpn

package
v0.13.4 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(ctx context.Context, target, controllerURL, authkey string, opts ...ConnectOpt) (*vpn, error)

Connect to the given target host with tailscale, controllerURL specifies the URL where the coordination server lives authKey is the key to authenticate to the vpn.

Types

type ConnectOpt added in v0.12.6

type ConnectOpt any

func ConnectOptOutputWriter added in v0.12.6

func ConnectOptOutputWriter(out io.Writer) ConnectOpt

Jump to

Keyboard shortcuts

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