cproxy

package module
v0.0.0-...-5b2f620 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2015 License: MIT Imports: 7 Imported by: 1

README

cproxy

Http Proxy for crawler, it supports following features:

  1. Cache static resouces

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Body

type Body struct {
	// contains filtered or unexported fields
}

type RequestHandler

type RequestHandler struct {
}

func (*RequestHandler) Handle

func (self *RequestHandler) Handle(req *http.Request,
	ctx *goproxy.ProxyCtx) (*http.Request, *http.Response)

type RespHandler

type RespHandler struct {
}

func (*RespHandler) Handle

func (r *RespHandler) Handle(resp *http.Response,
	ctx *goproxy.ProxyCtx) *http.Response

Directories

Path Synopsis
manager a cluster of proxy
manager a cluster of proxy

Jump to

Keyboard shortcuts

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