openziti / zrok

Geo-scale, next-generation peer-to-peer sharing platform built on top of OpenZiti.
https://zrok.io
Apache License 2.0
2.48k stars 96 forks source link

enable zrok env with Go SDK #510

Open qrkourier opened 8 months ago

qrkourier commented 8 months ago

Add a declarative function that enables the zrok env unless already enabled and returns the enabled root context.

This is the Go SDK counterpart to the Py SDK feature: https://github.com/openziti/zrok/issues/509

michaelquigley commented 8 months ago

You could make one issue for both SDKs in the future as it's very unlikely that we'd ever implement one of these but not the other.