provider

package
v0.6.22 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: MIT Imports: 20 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)

Types

This section is empty.

Jump to

Keyboard shortcuts

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