mirror of
https://github.com/kataras/iris.git
synced 2025-12-22 20:37:05 +00:00
14 lines
345 B
Go
14 lines
345 B
Go
package config
|
|
|
|
// Tester configuration
|
|
type Tester struct {
|
|
Debug bool
|
|
ListeningAddr string
|
|
}
|
|
|
|
// 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"}
|
|
}
|