package
0.3.12
Repository: https://github.com/stackrox/go-grpc-http1.git
Documentation: pkg.go.dev

# Functions

EncodeGrpcMessage is used to encode status code in header field "grpc-message".
IsCompressed returns true if the message header sets the compression flag.
IsDataFrame returns true if the message is a gRPC data frame.
IsEndOfStream returns true if the header sets the EOS flag and the message is empty.
IsMetadataFrame returns true if the message is a gRPC metadata frame.
MakeMessageHeader creates a gRPC message frame header based on the given flags and message length.
ParseMessageHeader parses a byte slice into a gRPC data frame header.
ValidateGRPCFrame ensures the message is a well-formed gRPC message.

# Constants

MessageHeaderLength is the length of a gRPC data frame message header.
MetadataFlags is flags with the MSB set to 1 to indicate a metadata gRPC message.

# Variables

EndStreamHeader is a gRPC frame header that indicates EOS.

# Type aliases

MessageFlags type represents the flags set in the header of a gRPC data frame.