Documentation ¶
Index ¶
- Variables
- func StreamInterceptor_Logging(logger logr.Logger) grpc.StreamServerInterceptor
- func StreamInterceptor_XRequestID() grpc.StreamServerInterceptor
- func UnaryInterceptor_Logging(logger logr.Logger) grpc.UnaryServerInterceptor
- func UnaryInterceptor_XRequestID() grpc.UnaryServerInterceptor
- func XRequestID(at *atomic.Int64, ctx context.Context) (context.Context, string)
- func XRequestID_Stream(at *atomic.Int64, ss grpc.ServerStream) (grpc.ServerStream, string)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCounter = &atomic.Int64{}
View Source
var JsonPbMarshaller = &protojson.MarshalOptions{}
Functions ¶
func StreamInterceptor_Logging ¶
func StreamInterceptor_Logging(logger logr.Logger) grpc.StreamServerInterceptor
func StreamInterceptor_XRequestID ¶
func StreamInterceptor_XRequestID() grpc.StreamServerInterceptor
func UnaryInterceptor_Logging ¶
func UnaryInterceptor_Logging(logger logr.Logger) grpc.UnaryServerInterceptor
func UnaryInterceptor_XRequestID ¶
func UnaryInterceptor_XRequestID() grpc.UnaryServerInterceptor
func XRequestID_Stream ¶
func XRequestID_Stream(at *atomic.Int64, ss grpc.ServerStream) (grpc.ServerStream, string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.