mirror of
https://github.com/openziti/zrok.git
synced 2025-08-18 19:58:28 +02:00
18 lines
316 B
Go
18 lines
316 B
Go
package agent
|
|
|
|
type AgentConfig struct {
|
|
ConsoleAddress string
|
|
ConsoleStartPort uint16
|
|
ConsoleEndPort uint16
|
|
ConsoleEnabled bool
|
|
}
|
|
|
|
func DefaultConfig() *AgentConfig {
|
|
return &AgentConfig{
|
|
ConsoleAddress: "127.0.0.1",
|
|
ConsoleStartPort: 8080,
|
|
ConsoleEndPort: 8181,
|
|
ConsoleEnabled: true,
|
|
}
|
|
}
|