Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New creates a new tunnel pointing at the URL provided. Once created, it returns the external hostname that will resolve to it.
The tunnel will exit when the context provided is canceled.
Upstream connection occurs async through Cloudflare, so the error channel will only be executed if the tunnel has failed after numerous attempts.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.