proxy

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartMultipleProxies

func StartMultipleProxies(ctx context.Context, configs []CFAccessProxyConfig) error

Types

type CFAccessProxyConfig

type CFAccessProxyConfig struct {
	Url       *url.URL
	Token     string
	LocalPort uint16 // change to local port
	SkipTLS   bool
}

type Server

type Server interface {
	ListenAndServe() error
	Shutdown(ctx context.Context) error
	HTTPServer() *http.Server
}

Server defines the behavior of a server that can be started and shut down.

Jump to

Keyboard shortcuts

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