tailscale

package
v0.17.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForwardRemoteUnixSock

func ForwardRemoteUnixSock(config ForwardConfig) (chan bool, chan error)

func GetConnection

func GetConnection(config *TsnetConnConfig) (*tsnet.Server, error)

Types

type ForwardConfig

type ForwardConfig struct {
	Ctx        context.Context
	TsnetConn  *tsnet.Server
	Hostname   string
	SshPort    int
	LocalSock  string
	RemoteSock string
}

type TsnetConnConfig

type TsnetConnConfig struct {
	AuthKey    string
	ControlURL string
	Dir        string
	Logf       func(format string, args ...any)
	Hostname   string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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