multiplexer

package
v1.15.3 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FuncWrite

type FuncWrite func(p []byte) (n int, err error)

type Message

type Message[T comparable] struct {
	Stream  T      `cbor:"1,keyasint"`
	Message []byte `cbor:"2,keyasint"`
}

type MixStdOutErr

type MixStdOutErr[T comparable] interface {
	io.Reader

	Writer(key T) io.Writer
	Add(key T, fct FuncWrite)
}

func New

func New[T comparable](r io.Reader, w io.Writer) MixStdOutErr[T]

Jump to

Keyboard shortcuts

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