decoder

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DECODERS = map[string]Decoder{}

Functions

func Register

func Register(name string, dec Decoder)

Types

type Decoder

type Decoder interface {
	Decode(io.Reader, io.Writer, *Options) error
	SetFilter(string)
}

func GetDecoder

func GetDecoder(name string) (Decoder, error)

type Options

type Options struct {
	DeepDecode bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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