Skip to main content

parse_tailscale_self

Function parse_tailscale_self 

pub fn parse_tailscale_self(json: &[u8]) -> TailscaleSelf
Expand description

Extract the node identity from tailscale status --json. Missing or malformed fields yield an empty identity rather than an error; callers that need a real identity check TailscaleSelf::has_identity.