Documentation
¶
Index ¶
- type Daemon
- func (d *Daemon) DeleteSpammer(id int64) error
- func (d *Daemon) GetAllSpammers() []*Spammer
- func (d *Daemon) GetClientPool() *spamoor.ClientPool
- func (d *Daemon) GetRootWallet() *txbuilder.Wallet
- func (d *Daemon) GetSpammer(id int64) *Spammer
- func (d *Daemon) NewSpammer(scenarioName string, config string, name string, description string, ...) (*Spammer, error)
- func (d *Daemon) Run() error
- func (d *Daemon) Shutdown()
- func (d *Daemon) UpdateSpammer(id int64, name string, description string, config string) error
- type Spammer
- func (s *Spammer) GetConfig() string
- func (s *Spammer) GetCreatedAt() int64
- func (s *Spammer) GetDescription() string
- func (s *Spammer) GetID() int64
- func (s *Spammer) GetLogScope() *logscope.LogScope
- func (s *Spammer) GetName() string
- func (s *Spammer) GetScenario() string
- func (s *Spammer) GetStatus() int
- func (s *Spammer) GetWalletPool() *spamoor.WalletPool
- func (s *Spammer) Pause() error
- func (s *Spammer) Start() error
- type SpammerConfig
- type SpammerStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Daemon ¶
type Daemon struct {
// contains filtered or unexported fields
}
func (*Daemon) DeleteSpammer ¶
func (*Daemon) GetAllSpammers ¶
func (*Daemon) GetClientPool ¶
func (d *Daemon) GetClientPool() *spamoor.ClientPool
func (*Daemon) GetRootWallet ¶
func (*Daemon) GetSpammer ¶
func (*Daemon) NewSpammer ¶
type Spammer ¶
type Spammer struct {
// contains filtered or unexported fields
}
func (*Spammer) GetCreatedAt ¶
func (*Spammer) GetDescription ¶
func (*Spammer) GetLogScope ¶
func (*Spammer) GetScenario ¶
func (*Spammer) GetWalletPool ¶
func (s *Spammer) GetWalletPool() *spamoor.WalletPool
type SpammerConfig ¶
type SpammerStatus ¶
type SpammerStatus int
const ( SpammerStatusPaused SpammerStatus = iota SpammerStatusRunning SpammerStatusFinished SpammerStatusFailed )
Click to show internal directories.
Click to hide internal directories.