frame

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: BSD-3-Clause Imports: 0 Imported by: 24

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type byte

Type is the type of frames.

const (
	// String identifies a string frame.
	String Type = iota
	// Binary identifies a binary frame.
	Binary
)

func ByteToFrameType

func ByteToFrameType(b byte) Type

ByteToFrameType converts a byte to FrameType.

func (Type) Byte

func (t Type) Byte() byte

Byte returns type in byte.

Jump to

Keyboard shortcuts

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