package
1.38.0
Repository: https://github.com/scribd/go-sdk.git
Documentation: pkg.go.dev

# Functions

DatabaseLoggingStreamServerInterceptor returns a streaming server interceptor.
DatabaseLoggingUnaryServerInterceptor returns a unary server interceptor.
DatabaseStreamServerInterceptor returns a streaming server interceptor that adds gorm.DB to the context.
DatabaseUnaryServerInterceptor returns a unary server interceptor that adds gorm.DB to the context.
LoggerStreamServerInterceptor returns a streaming server interceptor that adds the sdklogger.Logger to the context.
LoggerUnaryServerInterceptor returns a unary server interceptors that adds the sdklogger.Logger to the context.
MetricsStreamServerInterceptor returns a streaming server interceptor that adds sdkmetrics.Metrics to the context.
MetricsUnaryServerInterceptor returns a unary server interceptors that adds sdkmetrics.Metrics to the context.
RecoveryStreamServerInterceptor returns a streaming server interceptor that recovers from panics, sends a sentry event, log in fatal level and halts the service.
RecoveryUnaryServerInterceptor returns a unary server interceptor that recovers from panics, sends a sentry event, log in fatal level and halts the service.
No description provided by the author
No description provided by the author
TracingStreamClientInterceptor returns a stream server interceptor that will trace streaming requests performed by gRPC client.
TracingStreamServerInterceptor returns a stream server interceptor that will trace streaming requests to the given gRPC server.
TracingUnaryClientInterceptor returns a unary client interceptor that will trace requests performed by gRPC client.
TracingUnaryServerInterceptor returns a unary server interceptor that will trace requests to the given gRPC server.

# Variables

RequestIDKey is metadata key name for request ID.