listen

package
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package listen builds the proxy's network listeners (plaintext and TLS) from configuration. A TLS listener terminates TLS immediately on connect (not STARTTLS), which is what TN3270-over-TLS clients expect.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(cfg config.Config) ([]net.Listener, error)

Build returns one net.Listener per enabled transport in cfg. On any error it closes listeners already opened so no socket leaks.

Types

This section is empty.

Jump to

Keyboard shortcuts

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