Versions in this module Expand all Collapse all v3 v3.0.0 Apr 8, 2024 Changes in this version + const ErrClientCanceled + const ErrDeadlineExceeded + const StatusClientClosedRequest + var RecoveryGRPCStreamInterceptor = grpc_recovery.StreamServerInterceptor(grpc_recovery.WithRecoveryHandler(onPanic)) + var RecoveryGRPCUnaryInterceptor = grpc_recovery.UnaryServerInterceptor(grpc_recovery.WithRecoveryHandler(onPanic)) + var RecoveryHTTPMiddleware = middleware.Func(func(next http.Handler) http.Handler { ... }) + var RecoveryMiddleware queryrangebase.Middleware = queryrangebase.MiddlewareFunc(func(next queryrangebase.Handler) queryrangebase.Handler { ... }) + func ClientHTTPStatusAndError(err error) (int, error) + func NewPrepopulateMiddleware() middleware.Interface + func ResponseJSONMiddleware() middleware.Interface + func StreamClientHTTPHeadersInterceptor(ctx context.Context, desc *grpc.StreamDesc, cc *grpc.ClientConn, method string, ...) (grpc.ClientStream, error) + func StreamClientQueryTagsInterceptor(ctx context.Context, desc *grpc.StreamDesc, cc *grpc.ClientConn, method string, ...) (grpc.ClientStream, error) + func StreamServerHTTPHeadersInterceptor(srv interface{}, ss grpc.ServerStream, _ *grpc.StreamServerInfo, ...) error + func StreamServerQueryTagsInterceptor(srv interface{}, ss grpc.ServerStream, _ *grpc.StreamServerInfo, ...) error + func UnaryClientHTTPHeadersInterceptor(ctx context.Context, method string, req, reply interface{}, ...) error + func UnaryClientQueryTagsInterceptor(ctx context.Context, method string, req, reply interface{}, ...) error + func UnaryServerHTTPHeadersnIterceptor(ctx context.Context, req interface{}, _ *grpc.UnaryServerInfo, ...) (interface{}, error) + func UnaryServerQueryTagsInterceptor(ctx context.Context, req interface{}, _ *grpc.UnaryServerInfo, ...) (interface{}, error) + func UnwrapError(s *rpc.Status) error + func WrapError(err error) *rpc.Status + func WriteError(err error, w http.ResponseWriter) Other modules containing this package github.com/grafana/loki