minions

package
v0.1.1-0...-bf813a4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: OSL-3.0 Imports: 13 Imported by: 0

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

Directories

Path Synopsis
Package mock_minions is a generated GoMock package.
Package mock_minions is a generated GoMock package.

Jump to

Keyboard shortcuts

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