Documentation
¶
Index ¶
- func AuthFunc(authenticator authn.Authenticator) grpc_auth.AuthFunc
- func NewLoggingInterceptor(logger logger.Logger) grpc.UnaryServerInterceptor
- func NewRequestIDInterceptor(logger logger.Logger) grpc.UnaryServerInterceptor
- func NewStoreIDInterceptor() grpc.UnaryServerInterceptor
- func NewStreamingLoggingInterceptor(logger logger.Logger) grpc.StreamServerInterceptor
- func NewStreamingRequestIDInterceptor(logger logger.Logger) grpc.StreamServerInterceptor
- func NewStreamingStoreIDInterceptor() grpc.StreamServerInterceptor
- func RequestIDFromContext(ctx context.Context) (string, bool)
- func StoreIDFromContext(ctx context.Context) (string, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLoggingInterceptor ¶
func NewLoggingInterceptor(logger logger.Logger) grpc.UnaryServerInterceptor
func NewRequestIDInterceptor ¶ added in v0.3.3
func NewRequestIDInterceptor(logger logger.Logger) grpc.UnaryServerInterceptor
NewRequestIDInterceptor creates a grpc.UnaryServerInterceptor which must come after the trace interceptor and before the logging interceptor.
func NewStoreIDInterceptor ¶ added in v0.3.5
func NewStoreIDInterceptor() grpc.UnaryServerInterceptor
NewStoreIDInterceptor creates a grpc.UnaryServerInterceptor which must come after the trace interceptor and before the logging interceptor.
func NewStreamingLoggingInterceptor ¶
func NewStreamingLoggingInterceptor(logger logger.Logger) grpc.StreamServerInterceptor
func NewStreamingRequestIDInterceptor ¶ added in v0.3.3
func NewStreamingRequestIDInterceptor(logger logger.Logger) grpc.StreamServerInterceptor
NewStreamingRequestIDInterceptor creates a grpc.StreamServerInterceptor which must come after the trace interceptor and before the logging interceptor.
func NewStreamingStoreIDInterceptor ¶ added in v0.3.5
func NewStreamingStoreIDInterceptor() grpc.StreamServerInterceptor
NewStreamingStoreIDInterceptor creates a grpc.StreamServerInterceptor and must come after the trace interceptor and before the logging interceptor.
func RequestIDFromContext ¶ added in v0.3.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.