tailscale

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteSystemdUnit

func WriteSystemdUnit(ctx context.Context, cfg *Config, c *TemplateData) (changed bool, err error)

Types

type Config

type Config struct {
	Log    *slog.Logger
	Enable bool
	Reload bool
	// contains filtered or unexported fields
}

type TemplateData

type TemplateData struct {
	Comment         string
	DefaultRouteVrf string
	TailscaledPort  string
	MachineID       string
	AuthKey         string
	Address         string
}

Jump to

Keyboard shortcuts

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