Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDNSValidationTaskConfig = TaskConfigDNSValidation{
TaskName: "dns:validate",
DNSTXTRecord: "routehub_domainkey",
TaskQueue: "dns-validation",
DNSServer: "1.1.1.1:53",
TaskPriority: 4,
}
View Source
var DefaultSiteValidationTaskConfig = TaskConfigSiteValidation{
TaskName: "site:validate",
TaskQueue: "site-validation",
TaskPriority: 3,
}
View Source
var DefaultURLValidationTaskConfig = TaskConfigURLValidation{
TaskName: "url:validate",
TaskQueue: "url-validation",
TaskPriority: 3,
}
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { MaxRetry int Timeout time.Duration DeadlineTimeout time.Duration Queue string QueuePriority int Retention time.Duration }
func DefaultSettings ¶
func (Settings) GetPriority ¶
type TaskConfigDNSValidation ¶
type TaskConfigURLValidation ¶
type TaskConfigs ¶
type TaskConfigs struct { DNSValidation TaskConfigDNSValidation `koanf:"dns_validation_task"` URLValidation TaskConfigURLValidation `koanf:"url_validation_task"` SiteValidation TaskConfigSiteValidation `koanf:"site_validation_task"` }
Click to show internal directories.
Click to hide internal directories.