forward

package
v1.0.122 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartNewProxyConnection

func StartNewProxyConnection(ctx context.Context, clientConn io.ReadWriteCloser, deviceID int, phonePort uint16) error

Types

type ConnListener

type ConnListener struct {
	// contains filtered or unexported fields
}

func Forward

func Forward(device ios.DeviceEntry, hostPort uint16, phonePort uint16) (*ConnListener, error)

Forward forwards every connection made to the hostPort to whatever service runs inside an app on the device on phonePort.

func (*ConnListener) Close

func (cl *ConnListener) Close() error

Close stops listening on the host port for the forwarded connection

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL