zrok/endpoints/privateFrontend/config.go

18 lines
329 B
Go
Raw Normal View History

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