Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitMinionPool ¶
func InitMinionPool(config *configs.FaucetServer, horizonClient horizonclient.ClientInterface) error
InitMinionPool initializes the MinionPool
Types ¶
type BotPool ¶
type BotPool interface { Summon(ctx context.Context) *keypair.Full FundMinions(ctx context.Context, config *configs.FaucetServer, horizonClient horizonclient.ClientInterface) ([]*keypair.Full, error) }
BotPool is an interface accounting for the minion bots
var MinionPool BotPool
MinionPool is a singleton entity for summoning a minion bot
Click to show internal directories.
Click to hide internal directories.