2022-12-14 20:40:45 +01:00
|
|
|
package privateFrontend
|
2022-11-23 17:58:45 +01:00
|
|
|
|
2023-01-13 21:01:34 +01:00
|
|
|
import "github.com/openziti/zrok/endpoints"
|
2023-01-10 22:38:53 +01:00
|
|
|
|
2022-11-23 17:58:45 +01:00
|
|
|
type Config struct {
|
|
|
|
IdentityName string
|
2023-01-04 20:42:58 +01:00
|
|
|
ShrToken string
|
2022-11-23 17:58:45 +01:00
|
|
|
Address string
|
2023-01-10 23:40:20 +01:00
|
|
|
RequestsChan chan *endpoints.Request
|
2022-11-23 17:58:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
func DefaultConfig(identityName string) *Config {
|
|
|
|
return &Config{
|
|
|
|
IdentityName: identityName,
|
|
|
|
Address: "0.0.0.0:8080",
|
|
|
|
}
|
|
|
|
}
|