Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func HexEscapeNonASCII ¶
HexEscapeNonASCII - taken directly from the Go source - encodes a string for use in a Location: header.
func LogIntrnalRewrite ¶
func NewPathRewriteHandler ¶
func NewPathRewriteHandler(handler http.Handler, cfg *PathRewriteType, b string, dbF map[string]bool, sug *zap.SugaredLogger) http.Handler
Types ¶
type PathFromToType ¶
type PathRewriteType ¶
type PathRewriteType struct {
PathRewrite []PathFromToType `json:"path_rewrite"`
}
Click to show internal directories.
Click to hide internal directories.