tailscale

package
Version: v0.0.0-...-7b4f071 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: GPL-3.0 Imports: 46 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TailscaleDaemon

type TailscaleDaemon struct {

	// listen address ([ip]:port) of optional debug server
	Debug string
	// contains filtered or unexported fields
}

func NewTailscaleDaemon

func NewTailscaleDaemon(statePath string, logOut io.Writer) *TailscaleDaemon

func (*TailscaleDaemon) Cleanup

func (tsd *TailscaleDaemon) Cleanup()

func (*TailscaleDaemon) Start

func (tsd *TailscaleDaemon) Start() error

func (*TailscaleDaemon) Stop

func (tsd *TailscaleDaemon) Stop()

func (*TailscaleDaemon) TunnelDeviceName

func (tsd *TailscaleDaemon) TunnelDeviceName() string

func (*TailscaleDaemon) WireguardDevice

func (tsd *TailscaleDaemon) WireguardDevice() (*wgtypes.Device, error)

WireguardDevice gathers device information from a device specified by its path and returns a Device.

func (*TailscaleDaemon) WireguardStatusText

func (tsd *TailscaleDaemon) WireguardStatusText() (string, error)

Jump to

Keyboard shortcuts

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