zrok/endpoints/proxyFrontend/config.go
2023-04-10 15:26:00 -04:00

18 lines
327 B
Go

package proxyFrontend
import "github.com/openziti/zrok/endpoints"
type Config struct {
IdentityName string
ShrToken string
Address string
RequestsChan chan *endpoints.Request
}
func DefaultConfig(identityName string) *Config {
return &Config{
IdentityName: identityName,
Address: "0.0.0.0:8080",
}
}