Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailValid ¶
type JobParam ¶
type JobParam struct { TimeOut int TargetURL string HardLimit int DomainScope string NWorkers int CheckEmails bool }
JobParam contains the job parameters to be sent to the core
type JsonOutput ¶
type JsonOutput struct { TargetURL string HardLimit int NmbWorkers int DomainScope string NmbScraped int NmbUniqueEmails int UniqueEmails []string ValidEmails []EmailValid NmbEmails int EmailList []emailSource TimeStarted time.Time TimeFinished time.Time TimeDeltaMS int64 }
JsonOutput is a struct that will contain the output that will be formatted in json before being sent out or saved
func LaunchJob ¶
func LaunchJob(p JobParam) JsonOutput
LaunchJob is the main subfunction that actually starts the job. This functions takes a pointer of the input parameters either given by the zmq server or the command line interpreter. This function just starts the producer and waits for its results.
param : - fv pointer - return output as JsonOutput struct
Click to show internal directories.
Click to hide internal directories.