control

package
v0.0.0-...-ca78c08 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Server

func Server(ctx context.Context, cfg *config.Control) error

Types

type TunnelServer

type TunnelServer struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*TunnelServer) ServeHTTP

func (t *TunnelServer) ServeHTTP(resp http.ResponseWriter, req *http.Request)

ServeHTTP handles either CONNECT requests, or websocket requests to the remotedialer server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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