proxyrelay

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package proxyrelay is the entire brain of the stackr-proxyrelay container: a TCP pipe with an idle timeout. stackr starts one per forwarded (tile, port) so the thing bridging the stackr network and an environment network is this, not the process holding the docker socket.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(addr, target string, idle time.Duration) error

Run listens on addr and pipes every accepted connection to target. It returns nil once no connection has been open for idle, the container's self-reap, or an error if the listener cannot be created. target is dialled per connection (a DNS alias, so a redeployed tile re-resolves).

Types

This section is empty.

Jump to

Keyboard shortcuts

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