1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 09:57:01 +00:00
Files
kararas_iris/config/tester.go

15 lines
385 B
Go

package config
// Tester configuration
type Tester struct {
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{ListeningAddr: "iris-go.com:1993", ExplicitURL: false, Debug: false}
}