mirror of
https://github.com/kataras/iris.git
synced 2026-01-10 05:25:58 +00:00
Fasthttp seems have little bug with headers, so make a VisitAllCookies function and GetFlashes completed- tests added also
This commit is contained in:
@@ -34,7 +34,7 @@ type (
|
||||
Redis struct {
|
||||
// Network "tcp"
|
||||
Network string
|
||||
// Addr "127.0.01:6379"
|
||||
// Addr "127.0.0.1:6379"
|
||||
Addr string
|
||||
// Password string .If no password then no 'AUTH'. Default ""
|
||||
Password string
|
||||
|
||||
@@ -2,12 +2,13 @@ package config
|
||||
|
||||
// Tester configuration
|
||||
type Tester struct {
|
||||
Debug bool
|
||||
ListeningAddr string
|
||||
ExplicitURL bool
|
||||
Debug bool
|
||||
}
|
||||
|
||||
// DefaultTester returns the default configuration for a tester
|
||||
// the ListeningAddr is used as virtual only when no running server is founded
|
||||
func DefaultTester() Tester {
|
||||
return Tester{Debug: false, ListeningAddr: "iris-go.com:1993"}
|
||||
return Tester{ListeningAddr: "iris-go.com:1993", ExplicitURL: false, Debug: false}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user