package proto
import "github.com/mesos/mesos-go/api/v1/lib/encoding/proto"
Package proto implements protobuf utilities such as functional options to construct complex structs and encoders and decoders composable with io.ReadWriters.
Index ¶
- func NewDecoder(s encoding.Source) encoding.Decoder
- func NewEncoder(s encoding.Sink) encoding.Encoder
Functions ¶
func NewDecoder ¶
NewDecoder returns a new Decoder of Protobuf messages read from the given Source.
func NewEncoder ¶
NewEncoder returns a new Encoder of Calls to Protobuf messages written to the given io.Writer.
Source Files ¶
- Version
- v0.0.11 (latest)
- Published
- May 15, 2020
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 20 minutes ago –
Tools for package owners.