encoding

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecodeCloser

type DecodeCloser interface {
	Decoder
	io.Closer
}

func ToDecodeCloser added in v0.5.1

func ToDecodeCloser(decoder Decoder, rc io.ReadCloser) DecodeCloser

type Decoder

type Decoder interface {
	Decode(interface{}) error
}

type EncodeCloser

type EncodeCloser interface {
	Encoder
	io.Closer
}

func ToEncodeCloser added in v0.5.1

func ToEncodeCloser(encoder Encoder, wc io.WriteCloser) EncodeCloser

type Encoder

type Encoder interface {
	Encode(interface{}) error
}

Jump to

Keyboard shortcuts

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