Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultCheckTimeout defines the default time the request to a site // may take to answer DefaultCheckTimeout = 10 * time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
Checker contains logic to detect and resolve links in a message
func (Checker) ScanForLinks ¶
ScanForLinks takes a message and tries to find links within that message. Common methods like putting spaces into links are tried to circumvent.
Click to show internal directories.
Click to hide internal directories.