Versions in this module Expand all Collapse all v0 v0.3.0 Sep 24, 2023 Changes in this version + var CGNATRange = mustPrefix("100.64.0.0/10") + var ChromeOSVMRange = mustPrefix("100.115.92.0/23") + var TailscaleULARange = mustPrefix("fd7a:115c:a1e0::/48") + func Interface() ([]netip.Addr, *net.Interface, error) + func IsTailscaleIP(ip netip.Addr) bool + func Path() (bin string, err error) + type TSCli struct + Prefix []string + func (ts *TSCli) RunGet(ctx context.Context, targetDir string) ([]byte, error) + func (ts *TSCli) RunStatus(ctx context.Context) (*TSStatus, error) + func (ts *TSCli) StartCp(ctx context.Context, name string, target string, logE func(string, ...any)) (stdin io.WriteCloser, err error) + type TSStatus struct + TsIPs *[]string + Tun *bool