Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultHTTPRequestTimeout = 10
DefaultHTTPRequestTimeout is the max interval for http request in seconds
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct {
// contains filtered or unexported fields
}
Bot is a main app object
func (*Bot) SetIsFailOnDuplicates ¶
SetIsFailOnDuplicates defines if duplicate urls will be ignored
func (*Bot) SetTimeout ¶
SetTimeout sets the new http request timeout value
func (*Bot) SetWhiteList ¶
SetWhiteList sets the white list urls
func (*Bot) SetWorkersCount ¶
SetWorkersCount sets the new workers count value
type Result ¶
type Result struct { URL string Message string Status *status.Status // unknown status (0) by default }
Result contains an URL check info
type URLChanItem ¶
URLChanItem contains an url and it's index in results array
Click to show internal directories.
Click to hide internal directories.