mirror of
https://github.com/coredns/coredns.git
synced 2025-12-08 11:25:14 -05:00
@@ -1,11 +1,9 @@
|
||||
// Package rewrite is middleware for rewriting requests internally to something different.
|
||||
package rewrite
|
||||
|
||||
/*
|
||||
Additional FIELD keywords may be implemented to support more rewrite use-cases.
|
||||
New Rule types must be added to the Fields map.
|
||||
The type must implement `New` and `Rewrite` functions.
|
||||
*/
|
||||
// Fields defines additional FIELD keywords may be implemented to support more rewrite use-cases.
|
||||
// New Rule types must be added to the Fields map.
|
||||
// The type must implement `New` and `Rewrite` functions.
|
||||
var Fields = map[string]Rule{
|
||||
"name": NameRule{},
|
||||
"type": TypeRule{},
|
||||
|
||||
Reference in New Issue
Block a user