parser

package
v0.0.0-...-5b5a8c3 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 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