1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-07 20:17:05 +00:00

rename master branch to main

This commit is contained in:
Gerasimos (Makis) Maropoulos
2023-08-20 03:12:46 +03:00
parent 2e9745a915
commit 48f7b38d15
62 changed files with 216 additions and 211 deletions

View File

@@ -63,7 +63,10 @@ func LoadOptions(filename string) (opts Options) {
return
}
// Engine is the rewrite engine master structure.
// Rewrite is a struct that represents a rewrite engine for Iris web framework.
// It contains a slice of redirect rules, an options struct, a logger, and a domain validator function.
// It provides methods to create, configure, and apply rewrite rules to HTTP requests and responses.
//
// Navigate through _examples/routing/rewrite for more.
type Engine struct {
redirects []*redirectMatch