mirror of
https://github.com/openziti/zrok.git
synced 2024-11-30 03:53:18 +01:00
18 lines
349 B
Go
18 lines
349 B
Go
package privateFrontend
|
|
|
|
import "github.com/openziti-test-kitchen/zrok/endpoints"
|
|
|
|
type Config struct {
|
|
IdentityName string
|
|
ShrToken string
|
|
Address string
|
|
RequestsChan chan *endpoints.BackendRequest
|
|
}
|
|
|
|
func DefaultConfig(identityName string) *Config {
|
|
return &Config{
|
|
IdentityName: identityName,
|
|
Address: "0.0.0.0:8080",
|
|
}
|
|
}
|