//
pkg.gl
Category
github.com/layer0-platform/webpackager
urlrewrite
package
1.0.0
Repository:
https://github.com/layer0-platform/webpackager.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
2
Files
45 SLOC
#
Functions
CleanPath
CleanPath normalizes the URL path.
IndexRule
IndexRule appends indexFile to the path when it ends with a slash ("/") or otherwise likely represents a directory.
#
Variables
DefaultRules
DefaultRules contains a set of rules to reproduce the URL rewriting on static web servers.
#
Interfaces
Rule
Rule implements a URL rewrite rule.
#
Type aliases
RuleSequence
RuleSequence represents a series of rewrite rules.