envelopes

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Event  = "EVENT"
	OK     = "OK"
	Notice = "NOTICE"
	EOSE   = "EOSE"
	Close  = "CLOSE"
	Closed = "CLOSED"
	Req    = "REQ"
	Count  = "COUNT"
)

Functions

func Identify

func Identify(b B) (t S, rem B, err error)

Types

type B

type B = []byte

func Marshal

func Marshal(dst B, label string, m Marshaler) (b B, err error)

func SkipToTheEnd

func SkipToTheEnd(dst B) (rem B, err error)

type E

type E = error

type Marshaler

type Marshaler func(dst B) (b B, err error)

type N added in v0.0.14

type N = int

type S

type S = string

Jump to

Keyboard shortcuts

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