Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GRPCMetricsAndLogMiddleware ¶
func GRPCMetricsAndLogMiddleware(logger *zerolog.Logger) grpc.UnaryServerInterceptor
GRPCMetricsAndLogMiddleware tracks error and success prom metrics for grpc, and also logs if there is an error
Types ¶
type GRPCPanicker ¶
func (*GRPCPanicker) GRPCPanicRecoveryHandler ¶
func (pr *GRPCPanicker) GRPCPanicRecoveryHandler(p any) (err error)
type MetaTransactionService ¶
type MetaTransactionService struct { pb.MetaTransactionServiceServer Settings *config.Settings // contains filtered or unexported fields }
func (*MetaTransactionService) CleanStuckMetaTransactions ¶
func (m *MetaTransactionService) CleanStuckMetaTransactions(ctx context.Context, in *emptypb.Empty) (*pb.CleanStuckMetaTransactionsResponse, error)
Click to show internal directories.
Click to hide internal directories.