message

package
v0.0.0-...-9e274dd Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

package message implements reading and writing of gRPC messages

Index

Constants

View Source
const MaximumMessageSize = 1024 * 1024

MaximumMessageSize is the maximum message size

Variables

This section is empty.

Functions

func Read

func Read(r io.Reader, m proto.Message) error

Read a single grpc message. This supports gzip compression.

func Write

func Write(w io.Writer, m proto.Message, compress bool) error

Write a single grpc message. Supports gzip compression

Types

This section is empty.

Jump to

Keyboard shortcuts

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