# Functions

ContextErr converts the error from context package into a status error.
NewClientTransport establishes the transport with the required ConnectOptions and returns it to the caller.
NewServerHandlerTransport returns a ServerTransport handling gRPC from inside an http.Handler.
NewServerTransport creates a ServerTransport with conn or non-nil error if it fails.

# Constants

GoAwayInvalid indicates that no GoAway frame is received.
GoAwayNoReason is the default value when GoAway frame is received.
GoAwayTooManyPings indicates that a GoAway frame with ErrCodeEnhanceYourCalm was received and that the debug data said "too_many_pings".

# Variables

ErrConnClosing indicates that the transport is closing.
ErrHeaderListSizeLimitViolation indicates that the header list size is larger than the limit set by peer.
ErrIllegalHeaderWrite indicates that setting header is illegal because of the stream's state.

# Structs

CallHdr carries the information of a particular RPC.
ConnectionError is an error that results in the termination of the entire connection and the retry of all the active streams.
ConnectOptions covers all relevant options for communicating with the server.
Options provides additional hints and information for message transmission.
ServerConfig consists of all the configurations to establish a server transport.
Stream represents an RPC in the transport layer.
TargetInfo contains the information of the target such as network address and metadata.

# Interfaces

ClientTransport is the common interface for all gRPC client-side transport implementations.
ServerTransport is the common interface for all gRPC server-side transport implementations.

# Type aliases

GoAwayReason contains the reason for the GoAway frame received.