cproxy

package module
v0.0.0-...-ea1f7b1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2015 License: MIT Imports: 11 Imported by: 0

README

cproxy

Proxy for casper js based crawler

Documentation

Index

Constants

View Source
const (
	IMMUTABLE_UNKNOWN = 0
	IMMUTABLE_YES     = 1
	IMMUTABLE_NO      = 2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Body

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

type RandCodeServer

type RandCodeServer struct {
}

func (*RandCodeServer) ServeHTTP

func (server *RandCodeServer) ServeHTTP(w http.ResponseWriter, req *http.Request)

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

Jump to

Keyboard shortcuts

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