mirror of
https://github.com/openziti/zrok.git
synced 2024-12-23 07:09:12 +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,
|
|
}
|
|
}
|