Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListDecoder ¶
type ListDecoder interface {
Decode(ptr any) error
// Next will ensure that Value returns the next item when executed.
// If the next value is not retrievable, Next should return false and ensure Err() will return the error cause.
Next() bool
// Err return the error cause.
Err() error
// Closer is required to make it able to cancel iterators where resources are being used behind the scene
// for all other cases where the underling io is handled on a higher level, it should simply return nil
io.Closer
}
type ListDecoderMaker ¶
type ListDecoderMaker interface {
MakeListDecoder(w io.Reader) ListDecoder
}
type ListEncoder ¶
type ListEncoderMaker ¶
type ListEncoderMaker interface {
MakeListEncoder(w io.Writer) ListEncoder
}
Click to show internal directories.
Click to hide internal directories.