flutter-tsnet/ios/Classes/tailscale_kit.h
Mathias Beaulieu-Duncan 2dbadcd8ed Initial commit: embedded Tailscale tsnet Flutter plugin for remote heater access
Go layer (c-archive) provides a localhost TCP proxy through a WireGuard tunnel.
Flutter connects gRPC to localhost:PORT, Go forwards via tsnet to heater's Tailscale IP.
No VPN entitlement needed — uses userspace netstack.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 05:13:55 -04:00

3 lines
84 B
C

// Expose Go C functions to Swift via the pod's Clang module
#include "tailscale.h"