coder

package
v1.22.12 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 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 DecodeFunc added in v1.8.61

type DecodeFunc func(dest string) string

func (DecodeFunc) Decode added in v1.8.61

func (f DecodeFunc) Decode(dest string) string

type DecodeReaderFunc added in v1.8.61

type DecodeReaderFunc func(data any, r io.Reader) error

func (DecodeReaderFunc) Decode added in v1.8.61

func (f DecodeReaderFunc) Decode(data any, r io.Reader) error

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 EncoderFunc added in v1.8.61

type EncoderFunc func(dest string) string

func (EncoderFunc) Encode added in v1.8.61

func (f EncoderFunc) Encode(dest string) string

type EncoderWriter added in v1.0.56

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

type EncoderWriterFunc added in v1.8.61

type EncoderWriterFunc func(data any, r io.Writer) error

func (EncoderWriterFunc) Encode added in v1.8.61

func (f EncoderWriterFunc) Encode(data any, r io.Writer) error

type Marshal added in v1.0.56

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

type MarshalFunc added in v1.8.61

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

func (MarshalFunc) Marshal added in v1.8.61

func (f MarshalFunc) Marshal(v interface{}) ([]byte, error)

type Unmarshal added in v1.0.56

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

type UnmarshalFunc added in v1.8.61

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

func (UnmarshalFunc) Unmarshal added in v1.8.61

func (f UnmarshalFunc) Unmarshal(content []byte, v interface{}) error

Jump to

Keyboard shortcuts

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