mirror of
https://github.com/openziti/zrok.git
synced 2024-11-29 03:24:15 +01:00
16 lines
267 B
Go
16 lines
267 B
Go
package agent
|
|
|
|
type AgentConfig struct {
|
|
ConsoleAddress string
|
|
ConsoleStartPort uint16
|
|
ConsoleEndPort uint16
|
|
}
|
|
|
|
func DefaultConfig() *AgentConfig {
|
|
return &AgentConfig{
|
|
ConsoleAddress: "127.0.0.1",
|
|
ConsoleStartPort: 8080,
|
|
ConsoleEndPort: 8181,
|
|
}
|
|
}
|