mirror of
https://github.com/kataras/iris.git
synced 2025-12-27 23:07:03 +00:00
obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository
We have to do the same on iris-contrib/examples, iris-contrib/middleware and e.t.c. Former-commit-id: 0860688158f374bc137bc934b81b26dcd0e10964
This commit is contained in:
8
cache/client/client.go
vendored
8
cache/client/client.go
vendored
@@ -6,10 +6,10 @@ import (
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/kataras/iris/cache/cfg"
|
||||
"github.com/kataras/iris/cache/client/rule"
|
||||
"github.com/kataras/iris/cache/uri"
|
||||
"github.com/kataras/iris/context"
|
||||
"github.com/kataras/iris/v12/cache/cfg"
|
||||
"github.com/kataras/iris/v12/cache/client/rule"
|
||||
"github.com/kataras/iris/v12/cache/uri"
|
||||
"github.com/kataras/iris/v12/context"
|
||||
)
|
||||
|
||||
// ClientHandler is the client-side handler
|
||||
|
||||
6
cache/client/handler.go
vendored
6
cache/client/handler.go
vendored
@@ -4,9 +4,9 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/kataras/iris/cache/client/rule"
|
||||
"github.com/kataras/iris/cache/entry"
|
||||
"github.com/kataras/iris/context"
|
||||
"github.com/kataras/iris/v12/cache/client/rule"
|
||||
"github.com/kataras/iris/v12/cache/entry"
|
||||
"github.com/kataras/iris/v12/context"
|
||||
)
|
||||
|
||||
// Handler the local cache service handler contains
|
||||
|
||||
2
cache/client/rule/chained.go
vendored
2
cache/client/rule/chained.go
vendored
@@ -1,7 +1,7 @@
|
||||
package rule
|
||||
|
||||
import (
|
||||
"github.com/kataras/iris/context"
|
||||
"github.com/kataras/iris/v12/context"
|
||||
)
|
||||
|
||||
// chainedRule is a Rule with next Rule
|
||||
|
||||
2
cache/client/rule/conditional.go
vendored
2
cache/client/rule/conditional.go
vendored
@@ -1,7 +1,7 @@
|
||||
package rule
|
||||
|
||||
import (
|
||||
"github.com/kataras/iris/context"
|
||||
"github.com/kataras/iris/v12/context"
|
||||
)
|
||||
|
||||
// Conditional is a Rule witch adds a predicate in order to its methods to execute
|
||||
|
||||
4
cache/client/rule/header.go
vendored
4
cache/client/rule/header.go
vendored
@@ -1,9 +1,9 @@
|
||||
package rule
|
||||
|
||||
import (
|
||||
"github.com/kataras/iris/context"
|
||||
"github.com/kataras/iris/v12/context"
|
||||
|
||||
"github.com/kataras/iris/cache/ruleset"
|
||||
"github.com/kataras/iris/v12/cache/ruleset"
|
||||
)
|
||||
|
||||
// The HeaderPredicate should be alived on each of $package/rule BUT GOLANG DOESN'T SUPPORT type alias and I don't want to have so many copies around
|
||||
|
||||
2
cache/client/rule/not_satisfied.go
vendored
2
cache/client/rule/not_satisfied.go
vendored
@@ -1,7 +1,7 @@
|
||||
package rule
|
||||
|
||||
import (
|
||||
"github.com/kataras/iris/context"
|
||||
"github.com/kataras/iris/v12/context"
|
||||
)
|
||||
|
||||
type notSatisfiedRule struct{}
|
||||
|
||||
2
cache/client/rule/rule.go
vendored
2
cache/client/rule/rule.go
vendored
@@ -1,7 +1,7 @@
|
||||
package rule
|
||||
|
||||
import (
|
||||
"github.com/kataras/iris/context"
|
||||
"github.com/kataras/iris/v12/context"
|
||||
)
|
||||
|
||||
// Rule a superset of validators
|
||||
|
||||
2
cache/client/rule/satisfied.go
vendored
2
cache/client/rule/satisfied.go
vendored
@@ -1,7 +1,7 @@
|
||||
package rule
|
||||
|
||||
import (
|
||||
"github.com/kataras/iris/context"
|
||||
"github.com/kataras/iris/v12/context"
|
||||
)
|
||||
|
||||
type satisfiedRule struct{}
|
||||
|
||||
2
cache/client/rule/validator.go
vendored
2
cache/client/rule/validator.go
vendored
@@ -1,7 +1,7 @@
|
||||
package rule
|
||||
|
||||
import (
|
||||
"github.com/kataras/iris/context"
|
||||
"github.com/kataras/iris/v12/context"
|
||||
)
|
||||
|
||||
// Validators are introduced to implement the RFC about cache (https://tools.ietf.org/html/rfc7234#section-1.1).
|
||||
|
||||
8
cache/client/ruleset.go
vendored
8
cache/client/ruleset.go
vendored
@@ -1,10 +1,10 @@
|
||||
package client
|
||||
|
||||
import (
|
||||
"github.com/kataras/iris/cache/cfg"
|
||||
"github.com/kataras/iris/cache/client/rule"
|
||||
"github.com/kataras/iris/cache/ruleset"
|
||||
"github.com/kataras/iris/context"
|
||||
"github.com/kataras/iris/v12/cache/cfg"
|
||||
"github.com/kataras/iris/v12/cache/client/rule"
|
||||
"github.com/kataras/iris/v12/cache/ruleset"
|
||||
"github.com/kataras/iris/v12/context"
|
||||
)
|
||||
|
||||
// DefaultRuleSet is a list of the default pre-cache validators
|
||||
|
||||
Reference in New Issue
Block a user