Documentation ¶ Index ¶ type Binary func NewBinary() *Binary func (e *Binary) Decode(r io.Reader, v any) error func (e *Binary) Encode(w io.Writer, v any) error type JSON func NewJSON() *JSON func (e *JSON) Decode(r io.Reader, v any) error func (e *JSON) Encode(w io.Writer, v any) error type Text func NewText() *Text func (e *Text) Decode(r io.Reader, v any) error func (e *Text) Encode(w io.Writer, v any) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Binary ¶ type Binary struct{} Binary for proto. func NewBinary ¶ func NewBinary() *Binary NewBinary for proto. func (*Binary) Decode ¶ func (e *Binary) Decode(r io.Reader, v any) error Decode for proto. func (*Binary) Encode ¶ func (e *Binary) Encode(w io.Writer, v any) error Encode for proto. type JSON ¶ type JSON struct{} JSON for proto. func NewJSON ¶ func NewJSON() *JSON NewJSON for proto. func (*JSON) Decode ¶ func (e *JSON) Decode(r io.Reader, v any) error Decode for proto. func (*JSON) Encode ¶ func (e *JSON) Encode(w io.Writer, v any) error Encode for proto. type Text ¶ type Text struct{} Text for proto. func NewText ¶ func NewText() *Text NewText for proto. func (*Text) Decode ¶ func (e *Text) Decode(r io.Reader, v any) error Decode for proto. func (*Text) Encode ¶ func (e *Text) Encode(w io.Writer, v any) error Encode for proto. Source Files ¶ View all Source files binary.gojson.gotext.go Click to show internal directories. Click to hide internal directories.