Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetRequestId ¶
SetRequestId adds a RequestId to the GRPCServerContext and returns a new context with this data.
Types ¶
type GRPCServerContext ¶
GRPCServerContext holds the custom context data for gRPC requests.
func FromContext ¶
func FromContext(ctx context.Context) *GRPCServerContext
FromContext retrieves GRPCServerContext from the given context, or returns an empty GRPCServerContext if none is found.
Click to show internal directories.
Click to hide internal directories.