parser

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseLengthPrefixedMessage

func ParseLengthPrefixedMessage(r io.Reader, length uint32) ([]byte, error)

func ParseStatusAndTrailer

func ParseStatusAndTrailer(r io.Reader, length uint32) (*status.Status, metadata.MD, error)

Types

type Header struct {
	ContentLength uint32
	// contains filtered or unexported fields
}

func ParseResponseHeader

func ParseResponseHeader(r io.Reader) (*Header, error)

func (*Header) IsMessageHeader

func (h *Header) IsMessageHeader() bool

func (*Header) IsTrailerHeader

func (h *Header) IsTrailerHeader() bool

Jump to

Keyboard shortcuts

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