Documentation
¶
Overview ¶
Package node runs one Tailscale node: the body of the hidden subcommand the daemon starts for each service on the tailnet (see internal/tsnet).
It lives apart from the router so that the daemon process never links a tsnet.Server into its own goroutines; a panic in here ends this process and nothing else.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Service string
Hostname string
Dir string
AuthKey string
Port int
Verbose bool
// Upstream, when set, is the login gateway's URL. The node then serves
// HTTPS and sends everything there rather than to the service, so the
// tailnet address is behind the same login as the portal.
Upstream string
UpstreamServerName string
}
Config is one node.