zrok/endpoints/privateFrontend/config.go

15 lines
246 B
Go
Raw Normal View History

2022-12-14 20:40:45 +01:00
package privateFrontend
type Config struct {
IdentityName string
2023-01-04 20:42:58 +01:00
ShrToken string
Address string
}
func DefaultConfig(identityName string) *Config {
return &Config{
IdentityName: identityName,
Address: "0.0.0.0:8080",
}
}