View Source Ethereumex.Counter (ethereumex v0.10.7)

An application wide RPC2Ethereum client request counter.

Summary

Functions

get(key)

@spec get(atom()) :: integer()

increment(key, method)

@spec increment(atom(), String.t()) :: integer()

increment(key, count, method)

@spec increment(atom(), integer(), String.t()) :: integer()

setup()

@spec setup() :: :ok