View Source Tailscale.Local.Status (Tailscale v0.1.0)

This module calls the tailscale status --json command, and parses the JSON to extract the relevant information about the peers and the Tailnet.

Summary

Functions

Get the status of the local Tailscale node. It returns the struct %Tailscale.Status{}.

Get the raw status JSON, as a string.

Get the status JSON parsed into a map, but not cleaned and parsed into structs.

Functions

Get the status of the local Tailscale node. It returns the struct %Tailscale.Status{}.

Get the raw status JSON, as a string.

Get the status JSON parsed into a map, but not cleaned and parsed into structs.