Documentation ¶
Index ¶
- type Base64Decoder
- type Base64Encoder
- type JSONDecoder
- type JSONEncoder
- type JSONEncoderStripNewline
- type Reader
- func (rdr *Reader) Bufio() *bufio.Reader
- func (rdr *Reader) ConditionalErr(err error) rdrCondErr
- func (rdr *Reader) ConvertErr(from, to error) *Reader
- func (rdr *Reader) Copy(w io.Writer) rdrErr
- func (rdr *Reader) CopyN(w io.Writer, n int64) rdrErr
- func (rdr *Reader) Decode(v interface{}) wtrErr
- func (rdr *Reader) Err() error
- func (rdr *Reader) IsErr() bool
- func (rdr *Reader) IsNotErr() bool
- func (rdr *Reader) OnErr(error)
- func (rdr *Reader) OnErrF(errs.StringF, ...interface{})
- func (rdr *Reader) Read(p []byte) (n int, err error)
- func (rdr *Reader) SetDecoder(fn decodeReader) *Reader
- func (rdr *Reader) SetErr(err error)
- type Writer
- func (wtr *Writer) Bufio() *bufio.Writer
- func (wtr *Writer) Byte(p byte) wtrErr
- func (wtr *Writer) Bytes(p []byte) wtrErr
- func (wtr *Writer) Copy(src io.Reader) wtrErr
- func (wtr *Writer) Encode(v interface{}) wtrErr
- func (wtr *Writer) Err() error
- func (wtr *Writer) Error() string
- func (wtr *Writer) Multi(ww ...io.Writer) *Writer
- func (wtr *Writer) OnErr(error)
- func (wtr *Writer) OnErrF(errs.StringF, ...interface{})
- func (wtr *Writer) SetEncoder(fn encWriter) *Writer
- func (wtr *Writer) String(str string) wtrErr
- func (wtr *Writer) To(w io.WriterTo) wtrErr
- func (wtr *Writer) UseEncoder(fn encWriter) *Writer
- func (wtr *Writer) Write(p []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base64Decoder ¶
func (Base64Decoder) From ¶
func (fn Base64Decoder) From(r io.Reader) decDecode
type Base64Encoder ¶
func (Base64Encoder) To ¶
func (fn Base64Encoder) To(w io.Writer) encEncode
type JSONDecoder ¶
func (JSONDecoder) From ¶
func (fn JSONDecoder) From(r io.Reader) decDecode
type JSONEncoder ¶
func (JSONEncoder) To ¶
func (fn JSONEncoder) To(w io.Writer) encEncode
type JSONEncoderStripNewline ¶
func (JSONEncoderStripNewline) To ¶
func (fn JSONEncoderStripNewline) To(w io.Writer) encEncode
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) ConditionalErr ¶
func (*Reader) ConvertErr ¶
func (*Reader) SetDecoder ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
func (*Writer) SetEncoder ¶
func (*Writer) UseEncoder ¶
Click to show internal directories.
Click to hide internal directories.