aboutsummaryrefslogtreecommitdiff
path: root/plugin/rewrite/ttl.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/rewrite/ttl.go')
-rw-r--r--plugin/rewrite/ttl.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugin/rewrite/ttl.go b/plugin/rewrite/ttl.go
index 999f03547..6af9cdc40 100644
--- a/plugin/rewrite/ttl.go
+++ b/plugin/rewrite/ttl.go
@@ -13,32 +13,32 @@ import (
)
type exactTTLRule struct {
- NextAction string
- From string
+ NextAction string
+ From string
ResponseRules []ResponseRule
}
type prefixTTLRule struct {
- NextAction string
- Prefix string
+ NextAction string
+ Prefix string
ResponseRules []ResponseRule
}
type suffixTTLRule struct {
- NextAction string
- Suffix string
+ NextAction string
+ Suffix string
ResponseRules []ResponseRule
}
type substringTTLRule struct {
- NextAction string
- Substring string
+ NextAction string
+ Substring string
ResponseRules []ResponseRule
}
type regexTTLRule struct {
- NextAction string
- Pattern *regexp.Regexp
+ NextAction string
+ Pattern *regexp.Regexp
ResponseRules []ResponseRule
}