io

package
v3.32.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder interface {
	Decode(msg any) error
}

Decoder is the interface for the functionality that reads and decodes entities from an io.Reader, typically os.Stdin.

func NewBase64Decoder added in v3.14.2

func NewBase64Decoder(r io.Reader) Decoder

func NewHexDecoder added in v3.14.2

func NewHexDecoder(r io.Reader) Decoder

func NewJSONDecoder

func NewJSONDecoder(r io.Reader) Decoder

NewJSONDecoder returns a new Decoder on top of r, and that uses the common JSON format used in The Things Stack.

Jump to

Keyboard shortcuts

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