Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stats ¶
type Stats struct { sync.Mutex // InQueue is number of links waiting in the queue to be checked. InQueue int // NOK is number of links that were checked and are OK. NOK int // NFailed is number of links that have some issue of severity warn or error. NFailed int }
Stats handles linting statistics during the run. It can be used to periodically inform the user on progress of the linting.
func (*Stats) Failed ¶
func (s *Stats) Failed()
Failed finishes link statistic by marking the link with fail status.
Click to show internal directories.
Click to hide internal directories.