errrequest

package
v0.0.0-...-ec31b42 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(msg string) (string, error)

Generate parses an error request and generates a request of the appropriate length.

func New

func New(errLength int) string

New returns a new error request string that that returns an error with errLength bytes.

func Parse

func Parse(msg string) (int, error)

Parse parses an error request back into its error length.

Types

This section is empty.

Jump to

Keyboard shortcuts

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