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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user