encode

package
v0.20.7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package encode provides encoders for input of a runner.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

type Encoder interface {
	// Encode encodes the data to the
	Encode(io.Writer, any) error
}

Encoder defines an encoder.

func Gob

func Gob() Encoder

Gob returns a new binary value encoder.

func JSON

func JSON() Encoder

JSON returns a new encoder that writes JSON.

Jump to

Keyboard shortcuts

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