Documentation
¶
Overview ¶
Package validation provides simple methods for URL validation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validation ¶
type Validation struct {
URL string
// contains filtered or unexported fields
}
Validation struct instance
func (Validation) Check ¶
func (validation Validation) Check() (err error)
Check execute all the checks
func (Validation) CheckHost ¶
func (validation Validation) CheckHost() error
CheckHost checks the host
func (Validation) CheckScheme ¶
func (validation Validation) CheckScheme() error
CheckScheme checks the scheme
Click to show internal directories.
Click to hide internal directories.