provider_accounts_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: 3 Imported by: 0

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 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

initialize provider accounts handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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