meter

package
v7.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithSafeMeter

func WithSafeMeter(gasMeter storetypes.GasMeter) storetypes.GasMeter

WithSafeMeter returns a new instance of storetypes.GasMeter that is go-routine-safe.

func WithWeightedMeter

func WithWeightedMeter(decorated storetypes.GasMeter, weight uint64) storetypes.GasMeter

WithWeightedMeter returns a new weightedMeterDecorator with the given weight.

Types

This section is empty.

Jump to

Keyboard shortcuts

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