Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttachRequestIDToError ¶ added in v0.0.161
Types ¶
type Interceptor ¶
type Interceptor struct{}
func (Interceptor) Streaming ¶
func (Interceptor) Streaming(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
func (Interceptor) Unary ¶
func (Interceptor) Unary(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
type RequestData ¶
func AllocateRequestID ¶ added in v0.0.197
func AllocateRequestID(ctx context.Context) (context.Context, RequestData)
func RequestDataFromContext ¶
func RequestDataFromContext(ctx context.Context) (RequestData, bool)
Click to show internal directories.
Click to hide internal directories.