Documentation ¶
Index ¶
- Constants
- func Run()
- type InteractiveConfig
- type Mode
- type Printer
- func (p *Printer) AutoRequestingEnabled()
- func (p *Printer) ClientNotFoundWarning(id int)
- func (p *Printer) CurrentSpams()
- func (p *Printer) DevNetFundsWarning()
- func (p *Printer) EvilWalletStatus()
- func (p *Printer) FarewellBlock()
- func (p *Printer) FundsCurrentlyPreparedWarning()
- func (p *Printer) FundsWarning()
- func (p *Printer) History()
- func (p *Printer) MaxSpamWarning()
- func (p *Printer) NoActiveSpammer()
- func (p *Printer) NotEnoughClientsWarning(numOfClient int)
- func (p *Printer) PrintLine()
- func (p *Printer) PrintThickLine()
- func (p *Printer) PrintTopLine()
- func (p *Printer) Println(s string, indent int)
- func (p *Printer) PrintlnInput(s string)
- func (p *Printer) PrintlnPoint(s string, indent int)
- func (p *Printer) RateSetterEnabled()
- func (p *Printer) Settings()
- func (p *Printer) SpammerSettings()
- func (p *Printer) SpammerStartedBlock()
- func (p *Printer) StartedPreparingBlock(numToPrepareStr string)
- func (p *Printer) URLExists()
- func (p *Printer) URLWarning()
- type SpammerLog
- func (s *SpammerLog) AddSpam(config InteractiveConfig) (spamID int)
- func (s *SpammerLog) LogHistory(lastLines int, writer io.Writer)
- func (s *SpammerLog) LogSelected(lines []int, writer io.Writer)
- func (s *SpammerLog) SetSpamEndTime(spamID int)
- func (s *SpammerLog) SpamDetails(spamID int) *InteractiveConfig
- func (s *SpammerLog) StartTime(spamID int) time.Time
Constants ¶
View Source
const ( AnswerEnable = "enable" AnswerDisable = "disable" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InteractiveConfig ¶
type InteractiveConfig struct { //nolint:tagliatelle WebAPI []string `json:"webAPI"` Rate int `json:"rate"` DurationStr string `json:"duration"` TimeUnitStr string `json:"timeUnit"` Deep bool `json:"deepEnabled"` Reuse bool `json:"reuseEnabled"` Scenario string `json:"scenario"` AutoRequesting bool `json:"autoRequestingEnabled"` AutoRequestingAmount string `json:"autoRequestingAmount"` UseRateSetter bool `json:"useRateSetter"` // contains filtered or unexported fields }
type Mode ¶
type Mode struct { Config InteractiveConfig // contains filtered or unexported fields }
func NewInteractiveMode ¶
func NewInteractiveMode() *Mode
type Printer ¶
type Printer struct {
// contains filtered or unexported fields
}
func NewPrinter ¶
func (*Printer) AutoRequestingEnabled ¶
func (p *Printer) AutoRequestingEnabled()
func (*Printer) ClientNotFoundWarning ¶
func (*Printer) CurrentSpams ¶
func (p *Printer) CurrentSpams()
func (*Printer) DevNetFundsWarning ¶
func (p *Printer) DevNetFundsWarning()
func (*Printer) EvilWalletStatus ¶
func (p *Printer) EvilWalletStatus()
func (*Printer) FarewellBlock ¶
func (p *Printer) FarewellBlock()
func (*Printer) FundsCurrentlyPreparedWarning ¶
func (p *Printer) FundsCurrentlyPreparedWarning()
func (*Printer) FundsWarning ¶
func (p *Printer) FundsWarning()
func (*Printer) MaxSpamWarning ¶
func (p *Printer) MaxSpamWarning()
func (*Printer) NoActiveSpammer ¶
func (p *Printer) NoActiveSpammer()
func (*Printer) NotEnoughClientsWarning ¶
func (*Printer) PrintThickLine ¶
func (p *Printer) PrintThickLine()
func (*Printer) PrintTopLine ¶
func (p *Printer) PrintTopLine()
func (*Printer) PrintlnInput ¶
func (*Printer) PrintlnPoint ¶
func (*Printer) RateSetterEnabled ¶
func (p *Printer) RateSetterEnabled()
func (*Printer) SpammerSettings ¶
func (p *Printer) SpammerSettings()
func (*Printer) SpammerStartedBlock ¶
func (p *Printer) SpammerStartedBlock()
func (*Printer) StartedPreparingBlock ¶
func (*Printer) URLWarning ¶
func (p *Printer) URLWarning()
type SpammerLog ¶
type SpammerLog struct {
// contains filtered or unexported fields
}
func NewSpammerLog ¶
func NewSpammerLog() *SpammerLog
func (*SpammerLog) AddSpam ¶
func (s *SpammerLog) AddSpam(config InteractiveConfig) (spamID int)
func (*SpammerLog) LogHistory ¶
func (s *SpammerLog) LogHistory(lastLines int, writer io.Writer)
func (*SpammerLog) LogSelected ¶
func (s *SpammerLog) LogSelected(lines []int, writer io.Writer)
func (*SpammerLog) SetSpamEndTime ¶
func (s *SpammerLog) SetSpamEndTime(spamID int)
func (*SpammerLog) SpamDetails ¶
func (s *SpammerLog) SpamDetails(spamID int) *InteractiveConfig
Click to show internal directories.
Click to hide internal directories.