mux

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Multiplexer

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

func Listen

func Listen(network, address string) (*Multiplexer, error)

func ListenWithConfig

func ListenWithConfig(network, address string, c MultiplexerConfig) (*Multiplexer, error)

func (*Multiplexer) Close

func (m *Multiplexer) Close()

func (*Multiplexer) HTTP

func (m *Multiplexer) HTTP() net.Listener

func (*Multiplexer) SSH

func (m *Multiplexer) SSH() net.Listener

type MultiplexerConfig

type MultiplexerConfig struct {
	SSH  bool
	HTTP bool
}

Jump to

Keyboard shortcuts

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