Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptySourceURL = errors.New("source url should not be empty")
View Source
var ErrEmptyTargetURL = errors.New("target url should not be empty")
View Source
var ErrInvalidSourceURL = errors.New("source url is invalid")
View Source
var ErrMappingNotFound = errors.New("mapping not found")
View Source
var ErrMappingNotSpecified = errors.New("you must specify at least one mapping")
View Source
var ErrURLNotMached = errors.New("is not matched")
Functions ¶
Types ¶
type Factory ¶ added in v0.0.4
type Factory struct {
// contains filtered or unexported fields
}
func NewURLReplacerFactory ¶
type Replacer ¶
type Replacer struct {
// contains filtered or unexported fields
}
func NewReplacer ¶ added in v0.0.4
func (*Replacer) IsSourceSecure ¶ added in v0.0.3
func (*Replacer) IsTargetSecure ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.