Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidAPIKey = &ValidationError{msg: "API key must be at least 8 characters"} ErrInvalidURL = &ValidationError{msg: "invalid URL: must be HTTPS and not use blocked hosts"} )
Functions ¶
func NewValidationError ¶
func ValidateAPIKey ¶
func ValidateURL ¶
Types ¶
type ValidationError ¶
type ValidationError struct {
// contains filtered or unexported fields
}
func (*ValidationError) Error ¶
func (e *ValidationError) Error() string
Click to show internal directories.
Click to hide internal directories.