Commit Graph
4 Commits
Author SHA1 Message Date
Xe Iaso 613d624bea tsnet/examples/tshello: update example for LocalClient method (#5966)
Before this would silently fail if this program was running on a machine
that was not already running Tailscale. This patch changes the WhoIs
call to use the tsnet.Server LocalClient instead of the global tailscale
LocalClient.

Signed-off-by: Xe <[email protected]>

Change-Id: Ieb830fbce81292acc4c3b4d1b675aa10766a18dc
Signed-off-by: Xe <[email protected]>
(cherry picked from commit 86c5bddce2)
2022-10-21 08:16:18 -07:00
Maisem Ali c121fa81c4 tsnet: add TLS and LetsEncrypt example.
Signed-off-by: Maisem Ali <[email protected]>
2021-10-12 15:31:18 -07:00
Maisem Ali 52be1c0c78 tsnet: run the LocalAPI handler
Signed-off-by: Maisem Ali <[email protected]>
2021-10-07 10:01:03 -07:00
Brad Fitzpatrick 5b52b64094 tsnet: add Tailscale-as-a-library package
Signed-off-by: Brad Fitzpatrick <[email protected]>
2021-05-14 12:46:42 -07:00