provider

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvideConfig

func ProvideConfig() (*config.File, error)

func ProvideDatabaseClient

func ProvideDatabaseClient(configFile *config.File) (database.Client, error)

func ProvideEthereumMultiChainClient

func ProvideEthereumMultiChainClient(configFile *config.File) (*ethereum.MultiChainClient, error)

func ProvideGeoIP2

func ProvideGeoIP2(configFile *config.File) *geolite2.Client

func ProvideHTTPClient added in v0.4.9

func ProvideHTTPClient() (httputil.Client, error)

func ProvideNameResolver

func ProvideNameResolver(configFile *config.File) (*nameresolver.NameResolver, error)

func ProvideOpenTelemetryTracer

func ProvideOpenTelemetryTracer(configFile *config.File) (trace.TracerProvider, error)

func ProvideRedisClient

func ProvideRedisClient(config *config.File) (*redis.Client, error)

func ProvideTxManager added in v0.7.0

func ProvideTxManager(config *config.File, ethereumMultiChainClient *ethereum.MultiChainClient) (*txmgr.SimpleTxManager, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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