Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log = utils.Log
Functions ¶
This section is empty.
Types ¶
type DEFAULT_PROVIDER_ACCOUNTS_STRATEGY ¶
type DEFAULT_PROVIDER_ACCOUNTS_STRATEGY = ProviderAccountsStrategyTypes.LoopStrategy
type GetNextAccountFilter ¶
type GetNextAccountFilter struct { }
type IProviderAccountsStrategy ¶
type IProviderAccountsStrategy = ProviderAccountsStrategyTypes.IProviderAccountsStrategy
type ProviderAccount ¶
type ProviderAccount = provider_account.ProviderAccount
type ProviderAccountsHandler ¶
type ProviderAccountsHandler struct { // user input provider name Provider string // user input strategy to use UseStrategy IProviderAccountsStrategy // contains filtered or unexported fields }
Central control for managing a list of accounts for providers
func (*ProviderAccountsHandler) GetNextAccount ¶
func (x *ProviderAccountsHandler) GetNextAccount(filter *GetNextAccountFilter) (*ProviderAccount, error)
get an account from the list of accounts based on strategy
func (*ProviderAccountsHandler) Load ¶
func (x *ProviderAccountsHandler) Load() *ProviderAccountsHandler
initialize provider accounts handler
Source Files ¶
Click to show internal directories.
Click to hide internal directories.