Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckerGroup ¶
type CheckerGroup []models.LinkChecker
CheckerGroup ...
func (CheckerGroup) CheckLink ¶
func (checkers CheckerGroup) CheckLink( ctx context.Context, link models.SourcedLink, ) bool
CheckLink ...
type DuplicateChecker ¶
type DuplicateChecker struct {
LinkRegister registers.LinkRegister
Logger log.Logger
}
DuplicateChecker ...
func (DuplicateChecker) CheckLink ¶
func (checker DuplicateChecker) CheckLink( ctx context.Context, link models.SourcedLink, ) bool
CheckLink ...
type HTTPClient ¶ added in v1.5.1
type HTTPClient interface {
httputils.HTTPClient
}
HTTPClient ...
It's used only for mock generating.
type HostChecker ¶
type HostChecker struct {
ComparisonResult urlutils.ComparisonResult
Logger log.Logger
}
HostChecker ...
func (HostChecker) CheckLink ¶
func (checker HostChecker) CheckLink( ctx context.Context, link models.SourcedLink, ) bool
CheckLink ...
type LinkChecker ¶
type LinkChecker interface {
models.LinkChecker
}
LinkChecker ...
It's used only for mock generating.
type RobotsTXTChecker ¶ added in v1.5.1
type RobotsTXTChecker struct {
UserAgent string
RobotsTXTRegister registers.RobotsTXTRegister
Logger log.Logger
}
RobotsTXTChecker ...
func (RobotsTXTChecker) CheckLink ¶ added in v1.5.1
func (checker RobotsTXTChecker) CheckLink( ctx context.Context, link models.SourcedLink, ) bool
CheckLink ...
Click to show internal directories.
Click to hide internal directories.