proto

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package proto implements protobuf utilities such as functional options to construct complex structs and encoders and decoders composable with io.ReadWriters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDecoder added in v0.0.4

func NewDecoder(s encoding.Source) encoding.Decoder

NewDecoder returns a new Decoder of Protobuf messages read from the given Source.

func NewEncoder

func NewEncoder(s encoding.Sink) encoding.Encoder

NewEncoder returns a new Encoder of Calls to Protobuf messages written to the given io.Writer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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