packeter

package
v0.0.0-...-157c9c8 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PackPipe

func PackPipe(p Packer, chs channel.Pipe[[]byte], cls bool)

func Run

func Run(p any, chs channel.Pipe[[]byte]) (out channel.Pipe[[]byte])

func UnpackPipe

func UnpackPipe(u Unpacker, chs channel.Pipe[[]byte], cls bool)

Types

type Packer

type Packer interface {
	Pack([]byte) [][]byte
}

type Unpacker

type Unpacker interface {
	Unpack([]byte) [][]byte
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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