mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
15 lines
385 B
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}
|
|
}
|