Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime owns tunnel lifecycle resources (listener, smux session, websocket).
func Start ¶
func Start(opts StartOptions) (*Runtime, error)
Start initializes a TCP tunnel runtime and starts accepting local TCP connections.
func (*Runtime) CheckReady ¶
CheckReady validates that the tunnel session can open a stream and send metadata. This provides a fast fail signal before running long-lived local commands.
func (*Runtime) Done ¶
func (r *Runtime) Done() <-chan struct{}
Done returns a channel closed when runtime shutdown completes.
func (*Runtime) LocalAddress ¶
LocalAddress returns the resolved localhost bind address.
func (*Runtime) RemoteAddress ¶
RemoteAddress returns "<serverName>:<remotePort>".
Click to show internal directories.
Click to hide internal directories.