providers_handler

package
v0.0.0-...-62a8130 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DEFAULT_PROVIDERS_STRATEGY

type DEFAULT_PROVIDERS_STRATEGY = ProviderStrategies.FastLinkStrategy

type GetNextProviderFilter

type GetNextProviderFilter struct {
	ProviderStrategies.GetNextAccountOptions
	ChainType string
}

type IProvider

type IProvider = ProviderTypes.IProvider

type ProvidersHandler

type ProvidersHandler struct {
	UseStrategy IProvidersStrategy
	// contains filtered or unexported fields
}

func (*ProvidersHandler) GetNextProvider

func (x *ProvidersHandler) GetNextProvider(filter GetNextProviderFilter) (*IProvider, error)

get a provider based on the outcome of the strategy and param filters

func (*ProvidersHandler) Load

providers handler initialization

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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