Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBasePathInvalid = errors.New("base path is invalid, check it does not include spaces or any illegal characters")
View Source
var ErrBasePathTrailingSlash = errors.New("base path should not have a trailing slash '/'")
View Source
var ErrDomainEmpty = errors.New("domain cannot be empty")
View Source
var ErrDomainInvalid = errors.New("domain is invalid, check it does not include spaces or any illegal characters")
View Source
var ErrPathContainsDirTraversal = errors.New("path contains illegal '..' for directory traversal")
View Source
var ErrPathContainsInvalidCharacters = errors.New("path contains invalid characters")
View Source
var ErrPathMustIncludeFileExt = errors.New("path must end with a file extension e.g. '.html'")
View Source
var ErrPathMustStartWithSlash = errors.New("path must start with '/'")
Functions ¶
func IsValidBasePath ¶
func IsValidDomain ¶
func IsValidFilePath ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.