1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-07 20:17:05 +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:
Makis Maropoulos
2016-07-07 00:25:50 +02:00
parent 2cc75817b7
commit 01914b6c37
9 changed files with 502 additions and 260 deletions

View File

@@ -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}
}