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 IProvidersStrategy ¶
type IProvidersStrategy = ProviderStrategies.IProvidersStrategy
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 ¶
func (x *ProvidersHandler) Load() *ProvidersHandler
providers handler initialization
Click to show internal directories.
Click to hide internal directories.