package
1.0.122
Repository: https://github.com/greficsmurf/go-ios.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ManualPairAndConnectToTunnel tries to verify an existing pairing, and if this fails it triggers a new manual pairing process.
NewPairRecordManager creates a PairRecordManager that reads/stores the pair records information at the given path To use the same pair records as macOS does, this path should be /var/db/lockdown/RemotePairing/user_501 (user_501 is the default for the root user).
NewTunnelManager creates a new TunnelManager instance for setting up device tunnels for all connected devices.
ServeTunnelInfo starts a simple http serve that exposes the tunnel information about the running tunnel.
No description provided by the author

# Constants

DefaultHttpApiPort is the port on which we start the HTTP-Server for exposing started tunnels.

# Structs

PairRecordManager implements the same logic as macOS related to remote pair records.
Tunnel describes the parameters of an established tunnel to the device.
TunnelManager starts tunnels for devices when needed (if no tunnel is running yet) and stores the information how those tunnels are reachable (address and remote service discovery port).