framer

package
v0.0.0-...-d1e2c2d Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Framer

type Framer interface {
	SendData(data []byte) []byte
	RecvData(buf []byte)
	MessageReady() bool
	GetMessage() ([]byte, error)
}

Framer provides framing of discrete data entities over a stream connection.

func New

func New() Framer

New returns a new framer instance.

Directories

Path Synopsis
Package mock_framer is a generated GoMock package.
Package mock_framer is a generated GoMock package.

Jump to

Keyboard shortcuts

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