httpproxy

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTPCONNECT = iota
	HTTPOTHERS
	HTTPERROR
)

HTTP请求的类型

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPProxy

type HTTPProxy struct {
}

HTTPProxy HTTP代理

func (*HTTPProxy) Handle

func (conn *HTTPProxy) Handle(e *mynet.Arg) error

Handle 处理HTTPProxy请求

func (*HTTPProxy) Match

func (conn *HTTPProxy) Match(firstMsg []byte) bool

Match 判断是否匹配

func (*HTTPProxy) Name

func (conn *HTTPProxy) Name() string

Name 名字

Jump to

Keyboard shortcuts

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