forward

package
v1.0.163 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartNewProxyConnection added in v1.0.71

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

Types

type ConnListener added in v1.0.122

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 added in v1.0.122

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