├── common ├── goquery │ ├── .gitattributes │ ├── .travis.yml │ ├── .gitignore │ ├── testdata │ │ ├── page2.html │ │ └── page3.html │ ├── example_test.go │ └── bench_property_test.go ├── mgo │ ├── operator_test.go │ ├── remove.go │ ├── update.go │ ├── list.go │ └── count.go ├── ping │ └── ping_test.go ├── xlsx │ ├── doc.go │ └── row.go ├── gc │ └── gc.go ├── pinyin │ ├── phonetic_symbol.go │ └── initials_sort.go └── mahonia │ ├── README.md │ ├── fallback.go │ ├── mahoniconv │ └── mahoniconv.go │ └── utf8.go ├── doc ├── ICON.ico ├── help.jpg ├── icon.png ├── module.png ├── project.png ├── guishow_0.jpg ├── webshow_1.png ├── distribute.png └── GUI编译命令.txt ├── gui ├── rsrc.syso └── guimain.manifest ├── web ├── views.zip ├── bindata_assetfs_usage.go └── router.go ├── vendor ├── .gitignore ├── github.com │ ├── lxn │ │ ├── walk │ │ │ ├── l10n │ │ │ │ ├── update.bat │ │ │ │ └── walk-de.tr │ │ │ ├── data │ │ │ │ ├── drawing.png │ │ │ │ └── filebrowser.png │ │ │ ├── examples │ │ │ │ ├── img │ │ │ │ │ ├── x.ico │ │ │ │ │ ├── open.png │ │ │ │ │ ├── plus.png │ │ │ │ │ ├── document-new.png │ │ │ │ │ ├── system-shutdown.png │ │ │ │ │ ├── document-properties.png │ │ │ │ │ └── README │ │ │ │ ├── slider │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ └── slider.manifest │ │ │ │ ├── actions │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ └── actions.manifest │ │ │ │ ├── clipboard │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ └── clipboard.manifest │ │ │ │ ├── drawing │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ └── drawing.manifest │ │ │ │ ├── dropfiles │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ ├── dropfiles.manifest │ │ │ │ │ └── dropfiles.go │ │ │ │ ├── imageicon │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ └── imageicon.manifest │ │ │ │ ├── listbox │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ └── listbox.manifest │ │ │ │ ├── logview │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ ├── logview.manifest │ │ │ │ │ └── logviewapp.go │ │ │ │ ├── settings │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ └── settings.manifest │ │ │ │ ├── tableview │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ └── tableview.manifest │ │ │ │ ├── webview │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ ├── webview.manifest │ │ │ │ │ └── webview.go │ │ │ │ ├── databinding │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ └── databinding.manifest │ │ │ │ ├── filebrowser │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ └── filebrowser.manifest │ │ │ │ ├── imageviewer │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ └── imageviewer.manifest │ │ │ │ ├── notifyicon │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ └── notifyicon.manifest │ │ │ │ ├── radiobutton │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ └── radiobutton.manifest │ │ │ │ ├── externalwidgets │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ └── externalwidgets.manifest │ │ │ │ └── progressindicator │ │ │ │ │ ├── rsrc.syso │ │ │ │ │ └── progressindicator.manifest │ │ │ ├── declarative │ │ │ │ ├── nonwin.go │ │ │ │ ├── font.go │ │ │ │ └── databinder.go │ │ │ ├── point.go │ │ │ ├── color.go │ │ │ ├── simpletypes.go │ │ │ ├── image.go │ │ │ ├── AUTHORS │ │ │ ├── size.go │ │ │ ├── event.go │ │ │ ├── composite.go │ │ │ ├── intevent.go │ │ │ ├── keyevent.go │ │ │ └── errorevent.go │ │ └── win │ │ │ ├── oleaut32_386.go │ │ │ ├── oleaut32_amd64.go │ │ │ ├── README.mdown │ │ │ ├── shobj_386.go │ │ │ ├── shobj_amd64.go │ │ │ ├── AUTHORS │ │ │ └── header.go │ ├── robertkrimen │ │ └── otto │ │ │ ├── parser │ │ │ ├── Makefile │ │ │ ├── dbg.go │ │ │ └── scope.go │ │ │ ├── token │ │ │ └── Makefile │ │ │ ├── .gitignore │ │ │ ├── otto │ │ │ ├── Makefile │ │ │ └── main.go │ │ │ ├── DESIGN.markdown │ │ │ ├── type_number.go │ │ │ ├── dbg.go │ │ │ ├── clone_test.go │ │ │ ├── underscore │ │ │ └── Makefile │ │ │ ├── type_boolean.go │ │ │ ├── cmpl.go │ │ │ ├── test │ │ │ └── Makefile │ │ │ ├── result.go │ │ │ ├── scope.go │ │ │ ├── value_primitive.go │ │ │ ├── type_error.go │ │ │ ├── builtin_boolean.go │ │ │ ├── value_boolean.go │ │ │ ├── registry │ │ │ ├── README.markdown │ │ │ └── registry.go │ │ │ ├── parser_test.go │ │ │ └── LICENSE │ ├── Shopify │ │ └── sarama │ │ │ ├── examples │ │ │ ├── http_server │ │ │ │ └── .gitignore │ │ │ └── README.md │ │ │ ├── tools │ │ │ ├── kafka-console-consumer │ │ │ │ └── .gitignore │ │ │ ├── kafka-console-producer │ │ │ │ └── .gitignore │ │ │ ├── kafka-console-partitionconsumer │ │ │ │ └── .gitignore │ │ │ └── README.md │ │ │ ├── vagrant │ │ │ ├── toxiproxy.conf │ │ │ ├── zookeeper.conf │ │ │ ├── kafka.conf │ │ │ ├── provision.sh │ │ │ ├── create_topics.sh │ │ │ ├── boot_cluster.sh │ │ │ └── setup_services.sh │ │ │ ├── list_groups_request_test.go │ │ │ ├── dev.yml │ │ │ ├── api_versions_request_test.go │ │ │ ├── .gitignore │ │ │ ├── sasl_handshake_request_test.go │ │ │ ├── .github │ │ │ └── ISSUE_TEMPLATE.md │ │ │ ├── leave_group_request_test.go │ │ │ ├── Makefile │ │ │ ├── heartbeat_response_test.go │ │ │ ├── utils_test.go │ │ │ ├── Vagrantfile │ │ │ ├── list_groups_request.go │ │ │ ├── response_header.go │ │ │ ├── api_versions_request.go │ │ │ ├── heartbeat_request_test.go │ │ │ ├── consumer_metadata_request_test.go │ │ │ ├── response_header_test.go │ │ │ ├── consumer_metadata_request.go │ │ │ ├── heartbeat_response.go │ │ │ ├── leave_group_response.go │ │ │ ├── offset_fetch_response_test.go │ │ │ ├── sasl_handshake_response_test.go │ │ │ ├── offset_request_test.go │ │ │ ├── offset_commit_response_test.go │ │ │ ├── sasl_handshake_request.go │ │ │ ├── .travis.yml │ │ │ ├── describe_groups_request.go │ │ │ ├── leave_group_response_test.go │ │ │ ├── length_field.go │ │ │ ├── metadata_request_test.go │ │ │ ├── mocks │ │ │ └── README.md │ │ │ ├── leave_group_request.go │ │ │ ├── sasl_handshake_response.go │ │ │ ├── crc32_field.go │ │ │ ├── describe_groups_request_test.go │ │ │ ├── offset_fetch_request_test.go │ │ │ ├── api_versions_response_test.go │ │ │ ├── consumer_metadata_response_test.go │ │ │ ├── heartbeat_request.go │ │ │ └── sync_group_response.go │ ├── eapache │ │ ├── queue │ │ │ ├── .travis.yml │ │ │ ├── .gitignore │ │ │ └── README.md │ │ ├── go-resiliency │ │ │ ├── .travis.yml │ │ │ ├── .gitignore │ │ │ ├── retrier │ │ │ │ ├── backoffs.go │ │ │ │ └── README.md │ │ │ ├── semaphore │ │ │ │ └── README.md │ │ │ └── deadline │ │ │ │ └── README.md │ │ └── go-xerial-snappy │ │ │ ├── .travis.yml │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ └── snappy.go │ ├── tidwall │ │ ├── gjson │ │ │ ├── logo.png │ │ │ └── gjson_gae.go │ │ └── match │ │ │ └── README.md │ ├── go-sql-driver │ │ └── mysql │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── PULL_REQUEST_TEMPLATE.md │ │ │ ├── ISSUE_TEMPLATE.md │ │ │ ├── appengine.go │ │ │ ├── result.go │ │ │ └── transaction.go │ ├── golang │ │ └── snappy │ │ │ ├── testdata │ │ │ └── pi.txt.rawsnappy │ │ │ ├── README │ │ │ ├── decode_amd64.go │ │ │ ├── .gitignore │ │ │ └── AUTHORS │ ├── rcrowley │ │ └── go-metrics │ │ │ ├── runtime_no_cgo.go │ │ │ ├── .gitignore │ │ │ ├── runtime_cgo.go │ │ │ ├── runtime_no_gccpufraction.go │ │ │ ├── runtime_gccpufraction.go │ │ │ ├── .travis.yml │ │ │ ├── validate.sh │ │ │ ├── writer_test.go │ │ │ ├── cmd │ │ │ ├── never-read │ │ │ │ └── never-read.go │ │ │ └── metrics-bench │ │ │ │ └── metrics-bench.go │ │ │ ├── metrics.go │ │ │ ├── opentsdb_test.go │ │ │ ├── graphite_test.go │ │ │ ├── json_test.go │ │ │ ├── gauge_test.go │ │ │ ├── gauge_float64_test.go │ │ │ └── debug_test.go │ ├── henrylee2cn │ │ ├── teleport │ │ │ ├── doc │ │ │ │ └── Teleport API Model Diagram.png │ │ │ ├── example │ │ │ │ ├── client2.go │ │ │ │ ├── client3.go │ │ │ │ └── client.go │ │ │ ├── debug │ │ │ │ └── debug.go │ │ │ ├── README.md │ │ │ ├── netdata.go │ │ │ ├── conn.go │ │ │ ├── util.go │ │ │ └── return_func.go │ │ └── goutil │ │ │ ├── doc.go │ │ │ ├── object_name.go │ │ │ ├── bytes-string.go │ │ │ ├── js_url.go │ │ │ ├── exported.go │ │ │ ├── pid_file.go │ │ │ └── trace.go │ ├── klauspost │ │ └── crc32 │ │ │ ├── .travis.yml │ │ │ ├── .gitignore │ │ │ └── crc32_generic.go │ ├── andybalholm │ │ └── cascadia │ │ │ ├── .travis.yml │ │ │ └── README.md │ ├── davecgh │ │ └── go-spew │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── cov_report.sh │ │ │ └── LICENSE │ └── elazarl │ │ └── go-bindata-assetfs │ │ └── doc.go ├── gopkg.in │ ├── mgo.v2 │ │ ├── raceon.go │ │ ├── raceoff.go │ │ ├── Makefile │ │ ├── README.md │ │ ├── syscall_windows_test.go │ │ ├── saslstub.go │ │ ├── saslimpl.go │ │ ├── syscall_test.go │ │ ├── sasl │ │ │ └── sasl_windows.h │ │ ├── export_test.go │ │ └── txn │ │ │ └── tarjan_test.go │ └── sourcemap.v1 │ │ ├── Makefile │ │ ├── .travis.yml │ │ └── README.md └── golang.org │ └── x │ ├── text │ ├── encoding │ │ ├── testdata │ │ │ ├── candide-gb18030.txt │ │ │ ├── rashomon-euc-jp.txt │ │ │ ├── candide-utf-16le.txt │ │ │ ├── rashomon-shift-jis.txt │ │ │ ├── candide-windows-1252.txt │ │ │ ├── unsu-joh-eun-nal-euc-kr.txt │ │ │ ├── sunzi-bingfa-simplified-gbk.txt │ │ │ └── sunzi-bingfa-traditional-big5.txt │ │ ├── japanese │ │ │ └── all.go │ │ ├── simplifiedchinese │ │ │ └── all.go │ │ └── ianaindex │ │ │ └── example_test.go │ ├── language │ │ ├── go1_2.go │ │ ├── common.go │ │ ├── Makefile │ │ ├── gen_common.go │ │ └── go1_1.go │ ├── internal │ │ ├── testtext │ │ │ └── flag.go │ │ ├── number │ │ │ ├── common.go │ │ │ └── gen_common.go │ │ └── internal_test.go │ └── transform │ │ └── examples_test.go │ └── net │ └── html │ ├── charset │ └── testdata │ │ ├── UTF-16BE-BOM.html │ │ ├── UTF-16LE-BOM.html │ │ └── README │ ├── testdata │ └── webkit │ │ ├── pending-spec-changes-plain-text-unsafe.dat │ │ ├── scripted │ │ ├── adoption01.dat │ │ └── webkit01.dat │ │ ├── adoption02.dat │ │ ├── inbody01.dat │ │ └── isindex.dat │ └── example_test.go ├── pholcus_pkg ├── proxy.lib ├── config.ini └── cache │ ├── get │ └── post ├── app ├── distribute │ ├── interface.go │ ├── slave_api.go │ ├── taskjar.go │ ├── task.go │ └── master_api.go ├── downloader │ ├── downloader.go │ └── surfer │ │ └── agent │ │ ├── agent_windows.go │ │ ├── agent_bsd.go │ │ ├── agent_linux.go │ │ └── agent_linux_arm.go ├── spider │ └── timer_test.go ├── pipeline │ ├── pipeline.go │ └── output.go └── aid │ └── proxy │ └── host.go ├── doc.go ├── runtime └── status │ └── status.go ├── example_main.go ├── .gitignore ├── exec ├── exec_darwin.go ├── exec_freebsd.go ├── exec_linux.go └── exec_windows.go └── logs └── logs └── conn_test.go /common/goquery/.gitattributes: -------------------------------------------------------------------------------- 1 | testdata/* linguist-vendored 2 | -------------------------------------------------------------------------------- /doc/ICON.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/doc/ICON.ico -------------------------------------------------------------------------------- /doc/help.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/doc/help.jpg -------------------------------------------------------------------------------- /doc/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/doc/icon.png -------------------------------------------------------------------------------- /doc/module.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/doc/module.png -------------------------------------------------------------------------------- /doc/project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/doc/project.png -------------------------------------------------------------------------------- /gui/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/gui/rsrc.syso -------------------------------------------------------------------------------- /web/views.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/web/views.zip -------------------------------------------------------------------------------- /doc/guishow_0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/doc/guishow_0.jpg -------------------------------------------------------------------------------- /doc/webshow_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/doc/webshow_1.png -------------------------------------------------------------------------------- /doc/distribute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/doc/distribute.png -------------------------------------------------------------------------------- /vendor/.gitignore: -------------------------------------------------------------------------------- 1 | *.exe 2 | *.rar 3 | *.psd 4 | *.bmd 5 | *.cfg 6 | *_test.go 7 | 8 | -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/l10n/update.bat: -------------------------------------------------------------------------------- 1 | polyglot -name="walk" -dir=".." -locales="de" 2 | -------------------------------------------------------------------------------- /vendor/github.com/robertkrimen/otto/parser/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: test 2 | 3 | test: 4 | go test 5 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/examples/http_server/.gitignore: -------------------------------------------------------------------------------- 1 | http_server 2 | http_server.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/robertkrimen/otto/token/Makefile: -------------------------------------------------------------------------------- 1 | token_const.go: tokenfmt 2 | ./$^ | gofmt > $@ 3 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/raceon.go: -------------------------------------------------------------------------------- 1 | // +build race 2 | 3 | package mgo 4 | 5 | const raceDetector = true 6 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/raceoff.go: -------------------------------------------------------------------------------- 1 | // +build !race 2 | 3 | package mgo 4 | 5 | const raceDetector = false 6 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/Makefile: -------------------------------------------------------------------------------- 1 | startdb: 2 | @testdb/setup.sh start 3 | 4 | stopdb: 5 | @testdb/setup.sh stop 6 | -------------------------------------------------------------------------------- /vendor/github.com/eapache/queue/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | go: 5 | - 1.2 6 | - 1.3 7 | - 1.4 8 | -------------------------------------------------------------------------------- /vendor/github.com/robertkrimen/otto/.gitignore: -------------------------------------------------------------------------------- 1 | /.test 2 | /otto/otto 3 | /otto/otto-* 4 | /test/test-*.js 5 | /test/tester 6 | -------------------------------------------------------------------------------- /vendor/github.com/tidwall/gjson/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/tidwall/gjson/logo.png -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/tools/kafka-console-consumer/.gitignore: -------------------------------------------------------------------------------- 1 | kafka-console-consumer 2 | kafka-console-consumer.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/tools/kafka-console-producer/.gitignore: -------------------------------------------------------------------------------- 1 | kafka-console-producer 2 | kafka-console-producer.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/eapache/go-resiliency/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.2 5 | - 1.3 6 | - 1.4 7 | - 1.5 8 | -------------------------------------------------------------------------------- /vendor/github.com/eapache/go-xerial-snappy/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.5.4 5 | - 1.6.1 6 | 7 | sudo: false 8 | -------------------------------------------------------------------------------- /vendor/github.com/robertkrimen/otto/otto/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: build 2 | 3 | build: 4 | go build -a 5 | -gxc build-darwin-386 -a 6 | -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/data/drawing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/data/drawing.png -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/img/x.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/img/x.ico -------------------------------------------------------------------------------- /vendor/github.com/robertkrimen/otto/DESIGN.markdown: -------------------------------------------------------------------------------- 1 | * Designate the filename of "anonymous" source code by the hash (md5/sha1, etc.) 2 | -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/data/filebrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/data/filebrowser.png -------------------------------------------------------------------------------- /vendor/gopkg.in/sourcemap.v1/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | go test ./... -test.v -test.cpu=1,2,4 3 | go test ./... -test.v -test.short -test.race 4 | -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/img/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/img/open.png -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/img/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/img/plus.png -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/slider/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/slider/rsrc.syso -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/tools/kafka-console-partitionconsumer/.gitignore: -------------------------------------------------------------------------------- 1 | kafka-console-partitionconsumer 2 | kafka-console-partitionconsumer.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/go-sql-driver/mysql/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .DS_Store? 3 | ._* 4 | .Spotlight-V100 5 | .Trashes 6 | Icon? 7 | ehthumbs.db 8 | Thumbs.db 9 | -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/actions/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/actions/rsrc.syso -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/clipboard/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/clipboard/rsrc.syso -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/drawing/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/drawing/rsrc.syso -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/dropfiles/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/dropfiles/rsrc.syso -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/imageicon/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/imageicon/rsrc.syso -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/listbox/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/listbox/rsrc.syso -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/logview/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/logview/rsrc.syso -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/settings/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/settings/rsrc.syso -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/tableview/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/tableview/rsrc.syso -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/webview/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/webview/rsrc.syso -------------------------------------------------------------------------------- /vendor/github.com/golang/snappy/testdata/pi.txt.rawsnappy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/golang/snappy/testdata/pi.txt.rawsnappy -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/databinding/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/databinding/rsrc.syso -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/filebrowser/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/filebrowser/rsrc.syso -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/imageviewer/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/imageviewer/rsrc.syso -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/img/document-new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/img/document-new.png -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/notifyicon/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/notifyicon/rsrc.syso -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/radiobutton/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/radiobutton/rsrc.syso -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/img/system-shutdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/img/system-shutdown.png -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/runtime_no_cgo.go: -------------------------------------------------------------------------------- 1 | // +build !cgo appengine 2 | 3 | package metrics 4 | 5 | func numCgoCall() int64 { 6 | return 0 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/externalwidgets/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/externalwidgets/rsrc.syso -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/candide-gb18030.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/golang.org/x/text/encoding/testdata/candide-gb18030.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/rashomon-euc-jp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/golang.org/x/text/encoding/testdata/rashomon-euc-jp.txt -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/img/document-properties.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/img/document-properties.png -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/progressindicator/rsrc.syso: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/lxn/walk/examples/progressindicator/rsrc.syso -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/candide-utf-16le.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/golang.org/x/text/encoding/testdata/candide-utf-16le.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/rashomon-shift-jis.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/golang.org/x/text/encoding/testdata/rashomon-shift-jis.txt -------------------------------------------------------------------------------- /common/goquery/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.1 5 | - 1.2 6 | - 1.3 7 | - 1.4 8 | - 1.5 9 | - 1.6 10 | - 1.7 11 | - tip 12 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/vagrant/toxiproxy.conf: -------------------------------------------------------------------------------- 1 | start on started networking 2 | stop on shutdown 3 | 4 | env KAFKA_INSTALL_ROOT=/opt 5 | 6 | exec /opt/run_toxiproxy.sh 7 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/candide-windows-1252.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/golang.org/x/text/encoding/testdata/candide-windows-1252.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/unsu-joh-eun-nal-euc-kr.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/golang.org/x/text/encoding/testdata/unsu-joh-eun-nal-euc-kr.txt -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/README.md: -------------------------------------------------------------------------------- 1 | The MongoDB driver for Go 2 | ------------------------- 3 | 4 | Please go to [http://labix.org/mgo](http://labix.org/mgo) for all project details. 5 | -------------------------------------------------------------------------------- /vendor/github.com/henrylee2cn/teleport/doc/Teleport API Model Diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/github.com/henrylee2cn/teleport/doc/Teleport API Model Diagram.png -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-simplified-gbk.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-simplified-gbk.txt -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-traditional-big5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KBDY/pholcus/HEAD/vendor/golang.org/x/text/encoding/testdata/sunzi-bingfa-traditional-big5.txt -------------------------------------------------------------------------------- /vendor/github.com/klauspost/crc32/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.3 5 | - 1.4 6 | - 1.5 7 | - 1.6 8 | - tip 9 | 10 | script: 11 | - go test -v . 12 | - go test -v -race . 13 | -------------------------------------------------------------------------------- /vendor/github.com/robertkrimen/otto/type_number.go: -------------------------------------------------------------------------------- 1 | package otto 2 | 3 | func (runtime *_runtime) newNumberObject(value Value) *_object { 4 | return runtime.newPrimitiveObject("Number", value.numberValue()) 5 | } 6 | -------------------------------------------------------------------------------- /pholcus_pkg/proxy.lib: -------------------------------------------------------------------------------- 1 | http://183.141.168.95:3128 2 | http://60.13.146.92:8088 3 | http://59.59.4.22:8090 4 | http://180.119.78.78:8090 5 | http://222.178.56.73:8118 6 | http://115.228.57.254:3128 7 | http://49.84.106.160:9000 -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/vagrant/zookeeper.conf: -------------------------------------------------------------------------------- 1 | start on started toxiproxy 2 | stop on stopping toxiproxy 3 | 4 | exec /opt/kafka-KAFKAID/bin/zookeeper-server-start.sh /opt/kafka-KAFKAID/config/zookeeper.properties 5 | -------------------------------------------------------------------------------- /doc/GUI编译命令.txt: -------------------------------------------------------------------------------- 1 | #go get github.com/akavel/rsrc 2 | #rsrc -manifest guimain.manifest -o rsrc.syso -ico ICON.ico 3 | 4 | #go build 5 | 6 | 编译方法: 7 | go build -ldflags="-H windowsgui" 8 | 或者: 9 | go install -ldflags="-H windowsgui" -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/.gitignore: -------------------------------------------------------------------------------- 1 | *.[68] 2 | *.a 3 | *.out 4 | *.swp 5 | _obj 6 | _testmain.go 7 | cmd/metrics-bench/metrics-bench 8 | cmd/metrics-example/metrics-example 9 | cmd/never-read/never-read 10 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/runtime_cgo.go: -------------------------------------------------------------------------------- 1 | // +build cgo 2 | // +build !appengine 3 | 4 | package metrics 5 | 6 | import "runtime" 7 | 8 | func numCgoCall() int64 { 9 | return runtime.NumCgoCall() 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/runtime_no_gccpufraction.go: -------------------------------------------------------------------------------- 1 | // +build !go1.5 2 | 3 | package metrics 4 | 5 | import "runtime" 6 | 7 | func gcCPUFraction(memStats *runtime.MemStats) float64 { 8 | return 0 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/list_groups_request_test.go: -------------------------------------------------------------------------------- 1 | package sarama 2 | 3 | import "testing" 4 | 5 | func TestListGroupsRequest(t *testing.T) { 6 | testRequest(t, "ListGroupsRequest", &ListGroupsRequest{}, []byte{}) 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/examples/img/README: -------------------------------------------------------------------------------- 1 | Most image files in this directory are from the base icon theme of the 2 | Tango Desktop Project at http://tango.freedesktop.org. 3 | 4 | Thanks for releasing those to the Public Domain. 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-sql-driver/mysql/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | go: 4 | - 1.2 5 | - 1.3 6 | - 1.4 7 | - 1.5 8 | - 1.6 9 | - tip 10 | 11 | before_script: 12 | - mysql -e 'create database gotest;' 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/testdata/webkit/pending-spec-changes-plain-text-unsafe.dat: -------------------------------------------------------------------------------- 1 | #data 2 | fillertext 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | | "fillertext" 9 | |
10 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/runtime_gccpufraction.go: -------------------------------------------------------------------------------- 1 | // +build go1.5 2 | 3 | package metrics 4 | 5 | import "runtime" 6 | 7 | func gcCPUFraction(memStats *runtime.MemStats) float64 { 8 | return memStats.GCCPUFraction 9 | } 10 | -------------------------------------------------------------------------------- /app/distribute/interface.go: -------------------------------------------------------------------------------- 1 | package distribute 2 | 3 | // 分布式的接口 4 | type Distributer interface { 5 | // 主节点从仓库发送一个任务 6 | Send(clientNum int) Task 7 | // 从节点接收一个任务到仓库 8 | Receive(task *Task) 9 | // 返回与之连接的节点数 10 | CountNodes() int 11 | } 12 | -------------------------------------------------------------------------------- /common/goquery/.gitignore: -------------------------------------------------------------------------------- 1 | # editor temporary files 2 | *.sublime-* 3 | .DS_Store 4 | *.swp 5 | #*.*# 6 | tags 7 | 8 | # direnv config 9 | .env* 10 | 11 | # test binaries 12 | *.test 13 | 14 | # coverage and profilte outputs 15 | *.out 16 | 17 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/dev.yml: -------------------------------------------------------------------------------- 1 | name: sarama 2 | 3 | up: 4 | - go: 1.6.2 5 | 6 | commands: 7 | test: 8 | run: make test 9 | desc: 'run unit tests' 10 | 11 | packages: 12 | - git@github.com:Shopify/dev-shopify.git 13 | 14 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/vagrant/kafka.conf: -------------------------------------------------------------------------------- 1 | start on started zookeeper-ZK_PORT 2 | stop on stopping zookeeper-ZK_PORT 3 | 4 | pre-start exec sleep 2 5 | exec /opt/kafka-KAFKAID/bin/kafka-server-start.sh /opt/kafka-KAFKAID/config/server.properties 6 | -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.3 5 | - 1.4 6 | 7 | install: 8 | - go get github.com/andybalholm/cascadia 9 | 10 | script: 11 | - go test -v 12 | 13 | notifications: 14 | email: false 15 | -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/declarative/nonwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2010 The win Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !windows 6 | 7 | package declarative 8 | -------------------------------------------------------------------------------- /vendor/github.com/robertkrimen/otto/dbg.go: -------------------------------------------------------------------------------- 1 | // This file was AUTOMATICALLY GENERATED by dbg-import (smuggol) for github.com/robertkrimen/dbg 2 | 3 | package otto 4 | 5 | import ( 6 | Dbg "github.com/robertkrimen/otto/dbg" 7 | ) 8 | 9 | var dbg, dbgf = Dbg.New() 10 | -------------------------------------------------------------------------------- /common/mgo/operator_test.go: -------------------------------------------------------------------------------- 1 | package mgo 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestMgo(t *testing.T) { 8 | var li = map[string][]string{} 9 | Mgo(&li, "list", map[string]interface{}{ 10 | "Dbs": []string{"pholcus"}, 11 | }) 12 | t.Log(li) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/syscall_windows_test.go: -------------------------------------------------------------------------------- 1 | package mgo_test 2 | 3 | func stop(pid int) (err error) { 4 | panicOnWindows() // Always does. 5 | return nil 6 | } 7 | 8 | func cont(pid int) (err error) { 9 | panicOnWindows() // Always does. 10 | return nil 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/andybalholm/cascadia/README.md: -------------------------------------------------------------------------------- 1 | # cascadia 2 | 3 | [![](https://travis-ci.org/andybalholm/cascadia.svg)](https://travis-ci.org/andybalholm/cascadia) 4 | 5 | The Cascadia package implements CSS selectors for use with the parse trees produced by the html package. 6 | -------------------------------------------------------------------------------- /vendor/github.com/robertkrimen/otto/parser/dbg.go: -------------------------------------------------------------------------------- 1 | // This file was AUTOMATICALLY GENERATED by dbg-import (smuggol) for github.com/robertkrimen/dbg 2 | 3 | package parser 4 | 5 | import ( 6 | Dbg "github.com/robertkrimen/otto/dbg" 7 | ) 8 | 9 | var dbg, dbgf = Dbg.New() 10 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/saslstub.go: -------------------------------------------------------------------------------- 1 | //+build !sasl 2 | 3 | package mgo 4 | 5 | import ( 6 | "fmt" 7 | ) 8 | 9 | func saslNew(cred Credential, host string) (saslStepper, error) { 10 | return nil, fmt.Errorf("SASL support not enabled during build (-tags sasl)") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/henrylee2cn/goutil/doc.go: -------------------------------------------------------------------------------- 1 | // Common and useful utils for the Go project development. 2 | // 3 | // Inclusion criteria: 4 | // - Only rely on the Go standard package 5 | // - Functions or lightweight packages 6 | // - Non-business related general tools 7 | package goutil 8 | -------------------------------------------------------------------------------- /doc.go: -------------------------------------------------------------------------------- 1 | // Pholcus(幽灵蛛)是一款纯Go语言编写的支持分布式的高并发、重量级爬虫软件,定位于互联网数据采集,为具备一定Go或JS编程基础的人提供一个只需关注规则定制的功能强大的爬虫工具。 2 | // 它支持单机、服务端、客户端三种运行模式,拥有Web、GUI、命令行三种操作界面;规则简单灵活、批量任务并发、输出方式丰富(mysql/mongodb/kafka/csv/excel等)、有大量Demo共享;另外它还支持横纵向两种抓取模式,支持模拟登录和任务暂停、取消等一系列高级功能。 3 | // (官方QQ群:Go大数据 42731170)。 4 | package main 5 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/saslimpl.go: -------------------------------------------------------------------------------- 1 | //+build sasl 2 | 3 | package mgo 4 | 5 | import ( 6 | "gopkg.in/mgo.v2/sasl" 7 | ) 8 | 9 | func saslNew(cred Credential, host string) (saslStepper, error) { 10 | return sasl.New(cred.Username, cred.Password, cred.Mechanism, cred.Service, host) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/lxn/walk/point.go: -------------------------------------------------------------------------------- 1 | // Copyright 2010 The Walk Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build windows 6 | 7 | package walk 8 | 9 | type Point struct { 10 | X, Y int 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/golang/snappy/README: -------------------------------------------------------------------------------- 1 | The Snappy compression format in the Go programming language. 2 | 3 | To download and install from source: 4 | $ go get github.com/golang/snappy 5 | 6 | Unless otherwise noted, the Snappy-Go source files are distributed 7 | under the BSD-style license found in the LICENSE file. 8 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.2 5 | - 1.3 6 | - 1.4 7 | - 1.5 8 | 9 | script: 10 | - ./validate.sh 11 | 12 | # this should give us faster builds according to 13 | # http://docs.travis-ci.com/user/migrating-from-legacy/ 14 | sudo: false 15 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mgo.v2/syscall_test.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package mgo_test 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | func stop(pid int) (err error) { 10 | return syscall.Kill(pid, syscall.SIGSTOP) 11 | } 12 | 13 | func cont(pid int) (err error) { 14 | return syscall.Kill(pid, syscall.SIGCONT) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/language/go1_2.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.2 6 | 7 | package language 8 | 9 | import "sort" 10 | 11 | var sortStable = sort.Stable 12 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/validate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | # check there are no formatting issues 6 | GOFMT_LINES=`gofmt -l . | wc -l | xargs` 7 | test $GOFMT_LINES -eq 0 || echo "gofmt needs to be run, ${GOFMT_LINES} files have issues" 8 | 9 | # run the tests for the root package 10 | go test . 11 | -------------------------------------------------------------------------------- /vendor/gopkg.in/sourcemap.v1/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.2 5 | - 1.3 6 | - 1.4 7 | - 1.5 8 | 9 | install: 10 | - mkdir -p $HOME/gopath/src/gopkg.in 11 | - mv $HOME/gopath/src/github.com/go-sourcemap/sourcemap $HOME/gopath/src/gopkg.in/sourcemap.v1 12 | - cd $HOME/gopath/src/gopkg.in/sourcemap.v1 13 | -------------------------------------------------------------------------------- /vendor/github.com/robertkrimen/otto/clone_test.go: -------------------------------------------------------------------------------- 1 | package otto 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestCloneGetterSetter(t *testing.T) { 8 | vm := New() 9 | 10 | vm.Run(`var x = Object.create(null, { 11 | x: { 12 | get: function() {}, 13 | set: function() {}, 14 | }, 15 | })`) 16 | 17 | vm.Copy() 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/robertkrimen/otto/underscore/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: source 2 | 3 | source: source.go 4 | 5 | underscore.js: 6 | curl -kL http://underscorejs.org/underscore.js > $@ 7 | 8 | source.go: underscore.js 9 | go-bindata -f underscore -p underscore -u true < $< 2>/dev/null | grep -v '^//' | gofmt > $@ 10 | head -4 $< >> $@ 11 | mv $< .. 12 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/api_versions_request_test.go: -------------------------------------------------------------------------------- 1 | package sarama 2 | 3 | import "testing" 4 | 5 | var ( 6 | apiVersionRequest = []byte{} 7 | ) 8 | 9 | func TestApiVersionsRequest(t *testing.T) { 10 | var request *ApiVersionsRequest 11 | 12 | request = new(ApiVersionsRequest) 13 | testRequest(t, "basic", request, apiVersionRequest) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/robertkrimen/otto/type_boolean.go: -------------------------------------------------------------------------------- 1 | package otto 2 | 3 | import ( 4 | "strconv" 5 | ) 6 | 7 | func (runtime *_runtime) newBooleanObject(value Value) *_object { 8 | return runtime.newPrimitiveObject("Boolean", toValue_bool(value.bool())) 9 | } 10 | 11 | func booleanToString(value bool) string { 12 | return strconv.FormatBool(value) 13 | } 14 | -------------------------------------------------------------------------------- /web/bindata_assetfs_usage.go: -------------------------------------------------------------------------------- 1 | package web 2 | 3 | /************************************************************** 4 | * 使用到的工具: 5 | * $ go get github.com/jteeuwen/go-bindata/... 6 | $ $ go get github.com/elazarl/go-bindata-assetfs/... 7 | * 嵌入资源的生成方法,在当前目录下运行: 8 | * $ go-bindata-assetfs views/... 9 | ***************************************************************/ 10 | -------------------------------------------------------------------------------- /vendor/github.com/golang/snappy/decode_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Snappy-Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package snappy 6 | 7 | // decode has the same semantics as in decode_other.go. 8 | // 9 | //go:noescape 10 | func decode(dst, src []byte) int 11 | -------------------------------------------------------------------------------- /vendor/github.com/lxn/win/oleaut32_386.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The win Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package win 6 | 7 | type VAR_BSTR struct { 8 | vt VARTYPE 9 | reserved1 [6]byte 10 | bstrVal *uint16 /*BSTR*/ 11 | reserved2 [4]byte 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/lxn/win/oleaut32_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The win Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build windows 6 | 7 | package win 8 | 9 | type VAR_BSTR struct { 10 | vt VARTYPE 11 | reserved1 [6]byte 12 | bstrVal *uint16 /*BSTR*/ 13 | } 14 | -------------------------------------------------------------------------------- /runtime/status/status.go: -------------------------------------------------------------------------------- 1 | package status 2 | 3 | // 运行模式 4 | const ( 5 | UNSET int = iota - 1 6 | OFFLINE 7 | SERVER 8 | CLIENT 9 | ) 10 | 11 | // 数据头部信息 12 | const ( 13 | // 任务请求Header 14 | REQTASK = iota + 1 15 | // 任务响应流头Header 16 | TASK 17 | // 打印Header 18 | LOG 19 | ) 20 | 21 | // 运行状态 22 | const ( 23 | STOPPED = iota - 1 24 | STOP 25 | RUN 26 | PAUSE 27 | ) 28 | -------------------------------------------------------------------------------- /vendor/github.com/davecgh/go-spew/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | -------------------------------------------------------------------------------- /example_main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "github.com/henrylee2cn/pholcus/exec" 5 | _ "github.com/henrylee2cn/pholcus_lib" // 此为公开维护的spider规则库 6 | // _ "github.com/henrylee2cn/pholcus_lib_pte" // 同样你也可以自由添加自己的规则库 7 | ) 8 | 9 | func main() { 10 | // 设置运行时默认操作界面,并开始运行 11 | // 运行软件前,可设置 -a_ui 参数为"web"、"gui"或"cmd",指定本次运行的操作界面 12 | // 其中"gui"仅支持Windows系统 13 | exec.DefaultRun("web") 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/eapache/queue/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | -------------------------------------------------------------------------------- /vendor/github.com/go-sql-driver/mysql/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ### Description 2 | Please explain the changes you made here. 3 | 4 | ### Checklist 5 | - [ ] Code compiles correctly 6 | - [ ] Created tests which fail without the change (if possible) 7 | - [ ] All tests passing 8 | - [ ] Extended the README / documentation, if necessary 9 | - [ ] Added myself / the copyright holder to the AUTHORS file 10 | -------------------------------------------------------------------------------- /vendor/github.com/henrylee2cn/goutil/object_name.go: -------------------------------------------------------------------------------- 1 | package goutil 2 | 3 | import ( 4 | "reflect" 5 | "runtime" 6 | ) 7 | 8 | // ObjectName gets the type name of the object 9 | func ObjectName(obj interface{}) string { 10 | v := reflect.ValueOf(obj) 11 | t := v.Type() 12 | if t.Kind() == reflect.Func { 13 | return runtime.FuncForPC(v.Pointer()).Name() 14 | } 15 | return t.String() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/lxn/win/README.mdown: -------------------------------------------------------------------------------- 1 | About win 2 | ========= 3 | 4 | win is a Windows API wrapper package for Go. 5 | 6 | Originally part of [walk](https://github.com/lxn/walk), it is now a separate 7 | project. 8 | 9 | Setup 10 | ===== 11 | 12 | Make sure you have a working Go installation. 13 | See [Getting Started](http://golang.org/doc/install.html) 14 | 15 | Now run `go get github.com/lxn/win` 16 | -------------------------------------------------------------------------------- /common/ping/ping_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // taken from http://golang.org/src/pkg/net/ipraw_test.go 6 | 7 | package ping 8 | 9 | import ( 10 | "testing" 11 | ) 12 | 13 | func TestPing(t *testing.T) { 14 | 15 | t.Log(Ping("www.baidu.com", 5e9)) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/Shopify/sarama/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | *.test 6 | 7 | # Folders 8 | _obj 9 | _test 10 | .vagrant 11 | 12 | # Architecture specific extensions/prefixes 13 | *.[568vq] 14 | [568vq].out 15 | 16 | *.cgo1.go 17 | *.cgo2.c 18 | _cgo_defun.c 19 | _cgo_gotypes.go 20 | _cgo_export.* 21 | 22 | _testmain.go 23 | 24 | *.exe 25 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/crc32/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/testdata/webkit/scripted/adoption01.dat: -------------------------------------------------------------------------------- 1 | #data 2 |

TEXT 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | |

9 | | 10 | | id="B" 11 | | 3 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | | "1" 9 | | 4 15 | #errors 16 | #document 17 | | 18 | | 19 | | 20 | | "1" 21 | |