internal

package
v0.0.72 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package internal provides the internal tunnel implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifiableProxy

func VerifiableProxy(ctx context.Context, backendURL, checkPath string, listener net.Listener, pathFunc CheckPathFunc) (_ <-chan error)

VerifiableProxy is a proxy that has an overidable path. The path calls checkFunc when hit. this is used to make sure a proxy has started.

Types

type CheckPathFunc

type CheckPathFunc func()

CheckPathFunc is called when the checkPath is hit.

Jump to

Keyboard shortcuts

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