http2

package
v1.35.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer added in v1.34.0

func NewServer(addr string, cfg *tls.Config, username, password string) (*http.Server, error)

NewServer starts a HTTP/2 Server for forward proxying. The caller should call Close when finished.

func NewStreamDialer

func NewStreamDialer(addr string, cfg *tls.Config, username, password string) *streamDialer

NewStreamDialer returns a new transport.StreamDialer that dials through the provided proxy server's address.

Types

This section is empty.

Jump to

Keyboard shortcuts

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