devtunnel

package
v0.5.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2022 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, coderurl *url.URL) (string, <-chan error, error)

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 synchronously through a selfhosted https://github.com/fatedier/frp instance. The error channel sends an error when the frp client stops.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL