Categorygithub.com/wzshiming/httpproxy
modulepackage
0.5.7
Repository: https://github.com/wzshiming/httpproxy.git
Documentation: pkg.go.dev

# README

http proxy

HTTP proxy handler and dialer

Build Go Report Card GoDoc GitHub license gocover.io

This project is to add protocol support for the Bridge, or it can be used alone

The following is the implementation of other proxy protocols

Usage

API Documentation

Example

License

Licensed under the MIT License. See LICENSE for the full license text.

# Packages

No description provided by the author

# Functions

BasicAuth HTTP Basic authentication for Header Proxy-Authorization.
BasicAuthFunc HTTP Basic authentication for Header Proxy-Authorization.
NewConnCompatibilityReadDeadline this is a wrapper used to be compatible with the net.Conn after wrapping it so that it can be hijacked properly.
NewDialer is create a new HTTP CONNECT connection.
NewListenerCompatibilityReadDeadline this is a wrapper used to be compatible with the contents of ServerConn after wrapping it so that it can be hijacked properly.
NewSimpleServer creates a new SimpleServer.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Dialer holds HTTP CONNECT options.
ProxyHandler proxy handler.
SimpleServer is a simplified server, which can be configured as easily as client.

# Interfaces

Authentication proxy authentication.
BytesPool is an interface for getting and returning temporary bytes for use by io.CopyBuffer.
No description provided by the author

# Type aliases

AuthenticationFunc Authentication interface is implemented.