proto

package
v2.85.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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