coder

package
v1.8.28 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Zlib Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Coder added in v1.6.2

type Coder interface {
	Unmarshal
	Marshal
}

type Decoder

type Decoder interface {
	Decode(dest string) string
}

type DecoderReader added in v1.0.56

type DecoderReader interface {
	Decode(data any, r io.Reader) error
}

type Encoder

type Encoder interface {
	Encode(src string) string
}

type EncoderWriter added in v1.0.56

type EncoderWriter interface {
	Encode(data any, r io.Writer) error
}

type Marshal added in v1.0.56

type Marshal interface {
	Marshal(v interface{}) ([]byte, error)
}

type Unmarshal added in v1.0.56

type Unmarshal interface {
	Unmarshal(content []byte, v interface{}) error
}

Jump to

Keyboard shortcuts

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