mixins

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package mixins provides a set of mixins for the omnirpc module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReqToTX

func ReqToTX(req rpc.Request) (tx *types.Transaction, err error)

ReqToTX converts a request to a transaction.

func TxSubmitMixin

func TxSubmitMixin(parentCtx context.Context, handler metrics.Handler, r rpc.Request)

TxSubmitMixin is a mixin for tracking submitted transactions. it can be used to index additional data in otel regarding tx submission status.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL