├── .fsw.yml ├── .gitignore ├── .gopack.yml ├── .goreleaser.yml ├── .travis.yml ├── LICENSE ├── README.md ├── actions.go ├── assets_dev.go ├── assets_generate.go ├── broadcast.go ├── broadcast_test.go ├── client.go ├── config.go ├── docs ├── gosuv.gif └── states.png ├── example ├── config.yml ├── programs.yml ├── test_programs.yml └── testconf.yml ├── fsm.go ├── fsm_test.go ├── get.sh ├── glide.lock ├── glide.yaml ├── gops ├── gops.go └── gops_test.go ├── gosuv.go ├── hack └── build.sh ├── hipchat └── hipchat.go ├── process.go ├── programs.go ├── pushover └── pushover.go ├── res ├── bootstrap-3.3.5 │ ├── css │ │ ├── bootstrap-theme.css │ │ ├── bootstrap-theme.css.map │ │ ├── bootstrap-theme.min.css │ │ ├── bootstrap.css │ │ ├── bootstrap.css.map │ │ └── bootstrap.min.css │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 │ └── js │ │ ├── bootstrap.js │ │ ├── bootstrap.min.js │ │ └── npm.js ├── css │ └── style.css ├── font-awesome-4.6.3 │ ├── HELP-US-OUT.txt │ ├── css │ │ ├── font-awesome.css │ │ └── font-awesome.min.css │ └── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 ├── images │ ├── favicon.ico │ └── favicon.png ├── index.html ├── js │ ├── clipboard-1.5.12.min.js │ ├── common.js │ ├── dropzone.js │ ├── echarts.min.js │ ├── index.js │ ├── jquery-3.1.0.min.js │ ├── jquery.qrcode.js │ ├── jquery.scrollUp.min.js │ ├── moment.min.js │ ├── promise-polyfill.min.js │ ├── qrcode.js │ ├── settings.js │ ├── showdown-1.4.2.min.js │ ├── ua-parser.min.js │ ├── underscore-min.js │ └── vue-1.0.min.js └── setting.html ├── server.go ├── shell.go ├── sigchld_unix.go ├── types.go ├── utils.go └── vendor ├── github.com ├── cihub │ └── seelog │ │ ├── LICENSE.txt │ │ ├── README.markdown │ │ ├── behavior_adaptive_test.go │ │ ├── behavior_adaptivelogger.go │ │ ├── behavior_asynclogger.go │ │ ├── behavior_asyncloop_test.go │ │ ├── behavior_asynclooplogger.go │ │ ├── behavior_asynctimer_test.go │ │ ├── behavior_asynctimerlogger.go │ │ ├── behavior_synclogger.go │ │ ├── behavior_synclogger_test.go │ │ ├── cfg_config.go │ │ ├── cfg_errors.go │ │ ├── cfg_logconfig.go │ │ ├── cfg_logconfig_test.go │ │ ├── cfg_parser.go │ │ ├── cfg_parser_test.go │ │ ├── common_closer.go │ │ ├── common_constraints.go │ │ ├── common_constraints_test.go │ │ ├── common_context.go │ │ ├── common_context_test.go │ │ ├── common_exception.go │ │ ├── common_exception_test.go │ │ ├── common_flusher.go │ │ ├── common_loglevel.go │ │ ├── dispatch_custom.go │ │ ├── dispatch_customdispatcher_test.go │ │ ├── dispatch_dispatcher.go │ │ ├── dispatch_filterdispatcher.go │ │ ├── dispatch_filterdispatcher_test.go │ │ ├── dispatch_splitdispatcher.go │ │ ├── dispatch_splitdispatcher_test.go │ │ ├── doc.go │ │ ├── format.go │ │ ├── format_test.go │ │ ├── internals_baseerror.go │ │ ├── internals_byteverifiers_test.go │ │ ├── internals_fsutils.go │ │ ├── internals_xmlnode.go │ │ ├── internals_xmlnode_test.go │ │ ├── log.go │ │ ├── logger.go │ │ ├── writers_bufferedwriter.go │ │ ├── writers_bufferedwriter_test.go │ │ ├── writers_connwriter.go │ │ ├── writers_consolewriter.go │ │ ├── writers_filewriter.go │ │ ├── writers_filewriter_test.go │ │ ├── writers_formattedwriter.go │ │ ├── writers_formattedwriter_test.go │ │ ├── writers_rollingfilewriter.go │ │ ├── writers_rollingfilewriter_test.go │ │ └── writers_smtpwriter.go ├── codeskyblue │ └── kexec │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── examples │ │ ├── example.go │ │ └── flask_main.py │ │ ├── kexec.go │ │ ├── kexec_posix.go │ │ ├── kexec_test.go │ │ ├── kexec_windows.go │ │ └── tests │ │ ├── Procfile │ │ ├── flask_main.py │ │ ├── main.go │ │ └── tests ├── elazarl │ └── go-bindata-assetfs │ │ ├── LICENSE │ │ ├── README.md │ │ ├── assetfs.go │ │ ├── doc.go │ │ └── go-bindata-assetfs │ │ └── main.go ├── equinox-io │ └── equinox │ │ ├── .travis.yml │ │ ├── README.md │ │ ├── doc.go │ │ ├── internal │ │ ├── go-update │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── apply.go │ │ │ ├── apply_test.go │ │ │ ├── doc.go │ │ │ ├── hide_noop.go │ │ │ ├── hide_windows.go │ │ │ ├── internal │ │ │ │ ├── binarydist │ │ │ │ │ ├── License │ │ │ │ │ ├── Readme.md │ │ │ │ │ ├── bzip2.go │ │ │ │ │ ├── common_test.go │ │ │ │ │ ├── diff.go │ │ │ │ │ ├── diff_test.go │ │ │ │ │ ├── doc.go │ │ │ │ │ ├── encoding.go │ │ │ │ │ ├── patch.go │ │ │ │ │ ├── patch_test.go │ │ │ │ │ ├── seek.go │ │ │ │ │ ├── sort_test.go │ │ │ │ │ └── testdata │ │ │ │ │ │ ├── sample.new │ │ │ │ │ │ ├── sample.old │ │ │ │ │ │ └── sample.patch │ │ │ │ └── osext │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── osext.go │ │ │ │ │ ├── osext_plan9.go │ │ │ │ │ ├── osext_procfs.go │ │ │ │ │ ├── osext_sysctl.go │ │ │ │ │ ├── osext_test.go │ │ │ │ │ └── osext_windows.go │ │ │ ├── patcher.go │ │ │ └── verifier.go │ │ └── osext │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── osext.go │ │ │ ├── osext_plan9.go │ │ │ ├── osext_procfs.go │ │ │ ├── osext_sysctl.go │ │ │ ├── osext_test.go │ │ │ └── osext_windows.go │ │ ├── proto │ │ └── proto.go │ │ ├── sdk.go │ │ └── sdk_test.go ├── facebookgo │ └── atomicfile │ │ ├── atomicfile.go │ │ ├── atomicfile_test.go │ │ ├── license │ │ ├── patents │ │ └── readme.md ├── franela │ └── goreq │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── goreq.go │ │ ├── goreq_test.go │ │ └── tags.go ├── glycerine │ └── rbuf │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── atomic_rbuf.go │ │ ├── atomic_rbuf_test.go │ │ ├── pbuf.go │ │ ├── pbuf_test.go │ │ ├── rbuf.go │ │ └── rbuf_test.go ├── go-yaml │ └── yaml │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── LICENSE.libyaml │ │ ├── README.md │ │ ├── apic.go │ │ ├── decode.go │ │ ├── decode_test.go │ │ ├── emitterc.go │ │ ├── encode.go │ │ ├── encode_test.go │ │ ├── example_embedded_test.go │ │ ├── parserc.go │ │ ├── readerc.go │ │ ├── resolve.go │ │ ├── scannerc.go │ │ ├── sorter.go │ │ ├── suite_test.go │ │ ├── writerc.go │ │ ├── yaml.go │ │ ├── yamlh.go │ │ └── yamlprivateh.go ├── goji │ └── httpauth │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── basic_auth.go │ │ └── basic_auth_test.go ├── gopherjs │ └── gopherjs │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── build │ │ ├── build.go │ │ └── build_test.go │ │ ├── circle.yml │ │ ├── compiler │ │ ├── analysis │ │ │ ├── bool.go │ │ │ ├── break.go │ │ │ ├── escape.go │ │ │ ├── info.go │ │ │ └── sideeffect.go │ │ ├── astutil │ │ │ └── astutil.go │ │ ├── compiler.go │ │ ├── expressions.go │ │ ├── filter │ │ │ ├── assign.go │ │ │ └── incdecstmt.go │ │ ├── natives │ │ │ ├── doc.go │ │ │ ├── fs.go │ │ │ ├── fs_vfsdata.go │ │ │ └── src │ │ │ │ ├── bytes │ │ │ │ ├── bytes.go │ │ │ │ └── bytes_test.go │ │ │ │ ├── crypto │ │ │ │ ├── rand │ │ │ │ │ └── rand.go │ │ │ │ └── x509 │ │ │ │ │ ├── x509.go │ │ │ │ │ └── x509_test.go │ │ │ │ ├── database │ │ │ │ └── sql │ │ │ │ │ └── driver │ │ │ │ │ └── driver_test.go │ │ │ │ ├── debug │ │ │ │ └── elf │ │ │ │ │ └── elf_test.go │ │ │ │ ├── encoding │ │ │ │ └── json │ │ │ │ │ └── stream_test.go │ │ │ │ ├── fmt │ │ │ │ └── fmt_test.go │ │ │ │ ├── go │ │ │ │ └── token │ │ │ │ │ └── token_test.go │ │ │ │ ├── internal │ │ │ │ └── testenv │ │ │ │ │ └── testenv.go │ │ │ │ ├── io │ │ │ │ └── io_test.go │ │ │ │ ├── math │ │ │ │ ├── big │ │ │ │ │ ├── big.go │ │ │ │ │ └── big_test.go │ │ │ │ ├── math.go │ │ │ │ ├── math_test.go │ │ │ │ └── rand │ │ │ │ │ └── rand_test.go │ │ │ │ ├── net │ │ │ │ ├── http │ │ │ │ │ ├── cookiejar │ │ │ │ │ │ └── example_test.go │ │ │ │ │ ├── fetch.go │ │ │ │ │ └── http.go │ │ │ │ └── net.go │ │ │ │ ├── os │ │ │ │ └── os.go │ │ │ │ ├── reflect │ │ │ │ ├── example_test.go │ │ │ │ ├── reflect.go │ │ │ │ ├── reflect_test.go │ │ │ │ └── swapper.go │ │ │ │ ├── regexp │ │ │ │ └── regexp_test.go │ │ │ │ ├── runtime │ │ │ │ ├── debug │ │ │ │ │ └── debug.go │ │ │ │ ├── pprof │ │ │ │ │ └── pprof.go │ │ │ │ └── runtime.go │ │ │ │ ├── strings │ │ │ │ └── strings.go │ │ │ │ ├── sync │ │ │ │ ├── atomic │ │ │ │ │ ├── atomic.go │ │ │ │ │ └── atomic_test.go │ │ │ │ ├── cond.go │ │ │ │ ├── pool.go │ │ │ │ ├── sync.go │ │ │ │ ├── sync_test.go │ │ │ │ └── waitgroup.go │ │ │ │ ├── syscall │ │ │ │ ├── syscall.go │ │ │ │ ├── syscall_unix.go │ │ │ │ └── syscall_windows.go │ │ │ │ ├── testing │ │ │ │ ├── example.go │ │ │ │ └── ioutil.go │ │ │ │ ├── text │ │ │ │ └── template │ │ │ │ │ └── template.go │ │ │ │ ├── time │ │ │ │ └── time.go │ │ │ │ └── unicode │ │ │ │ └── unicode.go │ │ ├── package.go │ │ ├── prelude │ │ │ ├── goroutines.go │ │ │ ├── jsmapping.go │ │ │ ├── numeric.go │ │ │ ├── prelude.go │ │ │ └── types.go │ │ ├── statements.go │ │ ├── typesutil │ │ │ └── typesutil.go │ │ ├── utils.go │ │ ├── vendor │ │ │ ├── github.com │ │ │ │ └── neelance │ │ │ │ │ └── astrewrite │ │ │ │ │ ├── LICENSE │ │ │ │ │ └── simplify.go │ │ │ └── vendor.json │ │ └── version_check.go │ │ ├── doc │ │ ├── packages.md │ │ └── syscalls.md │ │ ├── js │ │ ├── js.go │ │ └── js_test.go │ │ ├── node-syscall │ │ ├── binding.gyp │ │ └── syscall.cc │ │ ├── nosync │ │ ├── mutex.go │ │ ├── once.go │ │ └── pool.go │ │ ├── tests │ │ ├── alias_test.go │ │ ├── copy_test.go │ │ ├── deferblock_test.go │ │ ├── doc.go │ │ ├── gorepo_test.go │ │ ├── goroutine_test.go │ │ ├── lowlevel_test.go │ │ ├── main │ │ │ ├── main.go │ │ │ └── main_test.go │ │ ├── misc_test.go │ │ ├── otherpkg │ │ │ └── otherpkg.go │ │ ├── run.go │ │ ├── testdata │ │ │ ├── time_inexternalization.go │ │ │ └── time_inexternalization.out │ │ └── vendor │ │ │ └── vendored │ │ │ └── vendored.go │ │ ├── third_party │ │ └── importer │ │ │ ├── export.go │ │ │ ├── import.go │ │ │ └── predefined.go │ │ └── tool.go ├── gorilla │ ├── context │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── context.go │ │ ├── context_test.go │ │ └── doc.go │ ├── mux │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bench_test.go │ │ ├── context_gorilla.go │ │ ├── context_gorilla_test.go │ │ ├── context_native.go │ │ ├── context_native_test.go │ │ ├── doc.go │ │ ├── mux.go │ │ ├── mux_test.go │ │ ├── old_test.go │ │ ├── regexp.go │ │ └── route.go │ └── websocket │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── AUTHORS │ │ ├── LICENSE │ │ ├── README.md │ │ ├── client.go │ │ ├── client_clone.go │ │ ├── client_clone_legacy.go │ │ ├── client_server_test.go │ │ ├── client_test.go │ │ ├── compression.go │ │ ├── compression_test.go │ │ ├── conn.go │ │ ├── conn_broadcast_test.go │ │ ├── conn_read.go │ │ ├── conn_read_legacy.go │ │ ├── conn_test.go │ │ ├── doc.go │ │ ├── example_test.go │ │ ├── examples │ │ ├── autobahn │ │ │ ├── README.md │ │ │ ├── fuzzingclient.json │ │ │ └── server.go │ │ ├── chat │ │ │ ├── README.md │ │ │ ├── client.go │ │ │ ├── home.html │ │ │ ├── hub.go │ │ │ └── main.go │ │ ├── command │ │ │ ├── README.md │ │ │ ├── home.html │ │ │ └── main.go │ │ ├── echo │ │ │ ├── README.md │ │ │ ├── client.go │ │ │ └── server.go │ │ └── filewatch │ │ │ ├── README.md │ │ │ └── main.go │ │ ├── json.go │ │ ├── json_test.go │ │ ├── mask.go │ │ ├── mask_safe.go │ │ ├── mask_test.go │ │ ├── prepared.go │ │ ├── prepared_test.go │ │ ├── server.go │ │ ├── server_test.go │ │ ├── util.go │ │ └── util_test.go ├── jtolds │ └── gls │ │ ├── LICENSE │ │ ├── README.md │ │ ├── context.go │ │ ├── context_test.go │ │ ├── gen_sym.go │ │ ├── gid.go │ │ ├── id_pool.go │ │ ├── stack_tags.go │ │ ├── stack_tags_js.go │ │ └── stack_tags_main.go ├── kennygrant │ └── sanitize │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE │ │ ├── README.md │ │ ├── sanitize.go │ │ └── sanitize_test.go ├── mitchellh │ └── go-ps │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── Vagrantfile │ │ ├── process.go │ │ ├── process_darwin.go │ │ ├── process_darwin_test.go │ │ ├── process_freebsd.go │ │ ├── process_linux.go │ │ ├── process_solaris.go │ │ ├── process_test.go │ │ ├── process_unix.go │ │ ├── process_unix_test.go │ │ └── process_windows.go ├── qiniu │ └── log │ │ ├── .gitignore │ │ ├── README.md │ │ ├── logext.go │ │ └── logext_test.go ├── shurcooL │ ├── httpfs │ │ ├── .travis.yml │ │ ├── README.md │ │ ├── filter │ │ │ ├── filter.go │ │ │ ├── filter_test.go │ │ │ └── filters.go │ │ ├── html │ │ │ └── vfstemplate │ │ │ │ └── vfstemplate.go │ │ ├── httputil │ │ │ └── httputil.go │ │ ├── path │ │ │ └── vfspath │ │ │ │ └── match.go │ │ ├── union │ │ │ ├── union.go │ │ │ └── union_test.go │ │ └── vfsutil │ │ │ ├── file.go │ │ │ ├── vfsutil.go │ │ │ ├── walk.go │ │ │ └── walk_test.go │ └── vfsgen │ │ ├── .travis.yml │ │ ├── CONTRIBUTING.md │ │ ├── README.md │ │ ├── cmd │ │ └── vfsgendev │ │ │ ├── generate.go │ │ │ ├── main.go │ │ │ └── parse.go │ │ ├── commentwriter.go │ │ ├── doc.go │ │ ├── generator.go │ │ ├── generator_test.go │ │ ├── options.go │ │ ├── stringwriter.go │ │ └── test │ │ ├── doc.go │ │ ├── test_gen.go │ │ ├── test_test.go │ │ └── test_vfsdata_test.go ├── smartystreets │ ├── assertions │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── collections.go │ │ ├── collections_test.go │ │ ├── doc.go │ │ ├── doc_test.go │ │ ├── equal_method.go │ │ ├── equal_method_test.go │ │ ├── equality.go │ │ ├── equality_test.go │ │ ├── filter.go │ │ ├── internal │ │ │ ├── Makefile │ │ │ ├── go-render │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── PRESUBMIT.py │ │ │ │ ├── README.md │ │ │ │ ├── WATCHLISTS │ │ │ │ ├── pre-commit-go.yml │ │ │ │ └── render │ │ │ │ │ └── render.go │ │ │ └── oglematchers │ │ │ │ ├── .gitignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── any_of.go │ │ │ │ ├── contains.go │ │ │ │ ├── deep_equals.go │ │ │ │ ├── equals.go │ │ │ │ ├── greater_or_equal.go │ │ │ │ ├── greater_than.go │ │ │ │ ├── less_or_equal.go │ │ │ │ ├── less_than.go │ │ │ │ ├── matcher.go │ │ │ │ ├── not.go │ │ │ │ └── transform_description.go │ │ ├── messages.go │ │ ├── panic.go │ │ ├── panic_test.go │ │ ├── quantity.go │ │ ├── quantity_test.go │ │ ├── serializer.go │ │ ├── serializer_test.go │ │ ├── should │ │ │ └── should.go │ │ ├── strings.go │ │ ├── strings_test.go │ │ ├── time.go │ │ ├── time_test.go │ │ ├── type.go │ │ ├── type_test.go │ │ └── utilities_for_test.go │ ├── goconvey │ │ ├── .gitattributes │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── convey │ │ │ ├── assertions.go │ │ │ ├── context.go │ │ │ ├── convey.goconvey │ │ │ ├── discovery.go │ │ │ ├── doc.go │ │ │ ├── focused_execution_test.go │ │ │ ├── gotest │ │ │ │ ├── doc_test.go │ │ │ │ └── utils.go │ │ │ ├── init.go │ │ │ ├── isolated_execution_test.go │ │ │ ├── nilReporter.go │ │ │ ├── reporting │ │ │ │ ├── console.go │ │ │ │ ├── doc.go │ │ │ │ ├── dot.go │ │ │ │ ├── dot_test.go │ │ │ │ ├── gotest.go │ │ │ │ ├── gotest_test.go │ │ │ │ ├── init.go │ │ │ │ ├── json.go │ │ │ │ ├── printer.go │ │ │ │ ├── printer_test.go │ │ │ │ ├── problems.go │ │ │ │ ├── problems_test.go │ │ │ │ ├── reporter.go │ │ │ │ ├── reporter_test.go │ │ │ │ ├── reporting.goconvey │ │ │ │ ├── reports.go │ │ │ │ ├── statistics.go │ │ │ │ └── story.go │ │ │ ├── reporting_hooks_test.go │ │ │ └── story_conventions_test.go │ │ ├── dependencies.go │ │ ├── examples │ │ │ ├── assertion_examples_test.go │ │ │ ├── bowling_game.go │ │ │ ├── bowling_game_test.go │ │ │ ├── doc.go │ │ │ ├── examples.goconvey │ │ │ └── simple_example_test.go │ │ ├── goconvey.go │ │ └── web │ │ │ ├── client │ │ │ ├── composer.html │ │ │ ├── favicon.ico │ │ │ ├── index.html │ │ │ └── resources │ │ │ │ ├── css │ │ │ │ ├── common.css │ │ │ │ ├── composer.css │ │ │ │ ├── themes │ │ │ │ │ ├── dark-bigtext.css │ │ │ │ │ ├── dark.css │ │ │ │ │ └── light.css │ │ │ │ └── tipsy.css │ │ │ │ ├── fonts │ │ │ │ ├── FontAwesome │ │ │ │ │ ├── README.md │ │ │ │ │ ├── css │ │ │ │ │ │ └── font-awesome.css │ │ │ │ │ └── fonts │ │ │ │ │ │ ├── FontAwesome.otf │ │ │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ │ ├── Open_Sans │ │ │ │ │ ├── LICENSE.txt │ │ │ │ │ ├── OpenSans-Bold.ttf │ │ │ │ │ ├── OpenSans-Italic.ttf │ │ │ │ │ ├── OpenSans-Light.ttf │ │ │ │ │ ├── OpenSans-LightItalic.ttf │ │ │ │ │ └── OpenSans-Regular.ttf │ │ │ │ ├── Orbitron │ │ │ │ │ ├── OFL.txt │ │ │ │ │ └── Orbitron-Regular.ttf │ │ │ │ └── Oswald │ │ │ │ │ ├── OFL.txt │ │ │ │ │ └── Oswald-Regular.ttf │ │ │ │ ├── ico │ │ │ │ ├── goconvey-buildfail.ico │ │ │ │ ├── goconvey-fail.ico │ │ │ │ ├── goconvey-ok.ico │ │ │ │ └── goconvey-panic.ico │ │ │ │ └── js │ │ │ │ ├── composer.js │ │ │ │ ├── config.js │ │ │ │ ├── convey.js │ │ │ │ ├── goconvey.js │ │ │ │ ├── lib │ │ │ │ ├── ansispan.js │ │ │ │ ├── diff_match_patch.js │ │ │ │ ├── jquery-ui.js │ │ │ │ ├── jquery-ui.js.url │ │ │ │ ├── jquery.js │ │ │ │ ├── jquery.js.url │ │ │ │ ├── jquery.pretty-text-diff.js │ │ │ │ ├── jquery.pretty-text-diff.js.url │ │ │ │ ├── jquery.tipsy.js │ │ │ │ ├── jquery.tipsy.js.url │ │ │ │ ├── markup.js │ │ │ │ ├── markup.js.url │ │ │ │ ├── moment.js │ │ │ │ ├── moment.js.url │ │ │ │ ├── taboverride.js │ │ │ │ └── taboverride.js.url │ │ │ │ └── poller.js │ │ │ └── server │ │ │ ├── api │ │ │ ├── api.goconvey │ │ │ ├── server.go │ │ │ └── server_test.go │ │ │ ├── contract │ │ │ ├── contracts.go │ │ │ ├── doc_test.go │ │ │ └── result.go │ │ │ ├── executor │ │ │ ├── contract.go │ │ │ ├── coordinator.go │ │ │ ├── executor.go │ │ │ ├── executor.goconvey │ │ │ ├── executor_test.go │ │ │ ├── tester.go │ │ │ └── tester_test.go │ │ │ ├── messaging │ │ │ ├── doc_test.go │ │ │ └── messages.go │ │ │ ├── parser │ │ │ ├── packageParser.go │ │ │ ├── package_parser_test.go │ │ │ ├── parser.go │ │ │ ├── parser.goconvey │ │ │ ├── parser_test.go │ │ │ ├── rules.go │ │ │ ├── testParser.go │ │ │ └── util.go │ │ │ ├── system │ │ │ ├── shell.go │ │ │ ├── shell_integration_test.go │ │ │ ├── shell_test.go │ │ │ └── system.goconvey │ │ │ └── watch │ │ │ ├── functional_core.go │ │ │ ├── functional_core_test.go │ │ │ ├── imperative_shell.go │ │ │ ├── integration.go │ │ │ ├── integration_test.go │ │ │ ├── integration_testing │ │ │ ├── doc_test.go │ │ │ ├── main.go │ │ │ └── sub │ │ │ │ ├── .gitignore │ │ │ │ ├── stuff.go │ │ │ │ ├── stuff_test.go │ │ │ │ └── sub.goconvey │ │ │ ├── util_test.go │ │ │ └── watch.goconvey │ └── logging │ │ ├── .gitignore │ │ ├── CONTRIBUTING.md │ │ ├── LICENSE.md │ │ ├── README.md │ │ ├── logging.go │ │ └── logging_test.go └── urfave │ └── cli │ ├── .flake8 │ ├── .gitignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── altsrc │ ├── altsrc.go │ ├── flag.go │ ├── flag_generated.go │ ├── flag_test.go │ ├── helpers_test.go │ ├── input_source_context.go │ ├── map_input_source.go │ ├── toml_command_test.go │ ├── toml_file_loader.go │ ├── yaml_command_test.go │ └── yaml_file_loader.go │ ├── app.go │ ├── app_test.go │ ├── appveyor.yml │ ├── autocomplete │ ├── bash_autocomplete │ └── zsh_autocomplete │ ├── category.go │ ├── cli.go │ ├── command.go │ ├── command_test.go │ ├── context.go │ ├── context_test.go │ ├── errors.go │ ├── errors_test.go │ ├── flag-types.json │ ├── flag.go │ ├── flag_generated.go │ ├── flag_test.go │ ├── funcs.go │ ├── generate-flag-types │ ├── help.go │ ├── help_test.go │ ├── helpers_test.go │ ├── helpers_unix_test.go │ ├── helpers_windows_test.go │ └── runtests └── golang.org └── x ├── net ├── .gitattributes ├── .gitignore ├── AUTHORS ├── CONTRIBUTING.md ├── CONTRIBUTORS ├── LICENSE ├── PATENTS ├── README ├── bpf │ ├── asm.go │ ├── constants.go │ ├── doc.go │ ├── instructions.go │ ├── instructions_test.go │ ├── setter.go │ ├── testdata │ │ ├── all_instructions.bpf │ │ └── all_instructions.txt │ ├── vm.go │ ├── vm_aluop_test.go │ ├── vm_bpf_test.go │ ├── vm_extension_test.go │ ├── vm_instructions.go │ ├── vm_jump_test.go │ ├── vm_load_test.go │ ├── vm_ret_test.go │ ├── vm_scratch_test.go │ └── vm_test.go ├── codereview.cfg ├── context │ ├── context.go │ ├── context_test.go │ ├── ctxhttp │ │ ├── ctxhttp.go │ │ ├── ctxhttp_17_test.go │ │ ├── ctxhttp_pre17.go │ │ ├── ctxhttp_pre17_test.go │ │ └── ctxhttp_test.go │ ├── go17.go │ ├── go19.go │ ├── pre_go17.go │ ├── pre_go19.go │ └── withtimeout_test.go ├── dict │ └── dict.go ├── dns │ └── dnsmessage │ │ ├── example_test.go │ │ ├── message.go │ │ └── message_test.go ├── html │ ├── atom │ │ ├── atom.go │ │ ├── atom_test.go │ │ ├── gen.go │ │ ├── table.go │ │ └── table_test.go │ ├── charset │ │ ├── charset.go │ │ ├── charset_test.go │ │ └── testdata │ │ │ ├── HTTP-charset.html │ │ │ ├── HTTP-vs-UTF-8-BOM.html │ │ │ ├── HTTP-vs-meta-charset.html │ │ │ ├── HTTP-vs-meta-content.html │ │ │ ├── No-encoding-declaration.html │ │ │ ├── README │ │ │ ├── UTF-16BE-BOM.html │ │ │ ├── UTF-16LE-BOM.html │ │ │ ├── UTF-8-BOM-vs-meta-charset.html │ │ │ ├── UTF-8-BOM-vs-meta-content.html │ │ │ ├── meta-charset-attribute.html │ │ │ └── meta-content-attribute.html │ ├── const.go │ ├── doc.go │ ├── doctype.go │ ├── entity.go │ ├── entity_test.go │ ├── escape.go │ ├── escape_test.go │ ├── example_test.go │ ├── foreign.go │ ├── node.go │ ├── node_test.go │ ├── parse.go │ ├── parse_test.go │ ├── render.go │ ├── render_test.go │ ├── testdata │ │ ├── go1.html │ │ └── webkit │ │ │ ├── README │ │ │ ├── adoption01.dat │ │ │ ├── adoption02.dat │ │ │ ├── comments01.dat │ │ │ ├── doctype01.dat │ │ │ ├── entities01.dat │ │ │ ├── entities02.dat │ │ │ ├── html5test-com.dat │ │ │ ├── inbody01.dat │ │ │ ├── isindex.dat │ │ │ ├── pending-spec-changes-plain-text-unsafe.dat │ │ │ ├── pending-spec-changes.dat │ │ │ ├── plain-text-unsafe.dat │ │ │ ├── scriptdata01.dat │ │ │ ├── scripted │ │ │ ├── adoption01.dat │ │ │ └── webkit01.dat │ │ │ ├── tables01.dat │ │ │ ├── tests1.dat │ │ │ ├── tests10.dat │ │ │ ├── tests11.dat │ │ │ ├── tests12.dat │ │ │ ├── tests14.dat │ │ │ ├── tests15.dat │ │ │ ├── tests16.dat │ │ │ ├── tests17.dat │ │ │ ├── tests18.dat │ │ │ ├── tests19.dat │ │ │ ├── tests2.dat │ │ │ ├── tests20.dat │ │ │ ├── tests21.dat │ │ │ ├── tests22.dat │ │ │ ├── tests23.dat │ │ │ ├── tests24.dat │ │ │ ├── tests25.dat │ │ │ ├── tests26.dat │ │ │ ├── tests3.dat │ │ │ ├── tests4.dat │ │ │ ├── tests5.dat │ │ │ ├── tests6.dat │ │ │ ├── tests7.dat │ │ │ ├── tests8.dat │ │ │ ├── tests9.dat │ │ │ ├── tests_innerHTML_1.dat │ │ │ ├── tricky01.dat │ │ │ ├── webkit01.dat │ │ │ └── webkit02.dat │ ├── token.go │ └── token_test.go ├── http2 │ ├── .gitignore │ ├── Dockerfile │ ├── Makefile │ ├── README │ ├── ciphers.go │ ├── ciphers_test.go │ ├── client_conn_pool.go │ ├── configure_transport.go │ ├── databuffer.go │ ├── databuffer_test.go │ ├── errors.go │ ├── errors_test.go │ ├── flow.go │ ├── flow_test.go │ ├── frame.go │ ├── frame_test.go │ ├── go16.go │ ├── go17.go │ ├── go17_not18.go │ ├── go18.go │ ├── go18_test.go │ ├── go19.go │ ├── go19_test.go │ ├── gotrack.go │ ├── gotrack_test.go │ ├── h2demo │ │ ├── .gitignore │ │ ├── Makefile │ │ ├── README │ │ ├── h2demo.go │ │ ├── launch.go │ │ ├── rootCA.key │ │ ├── rootCA.pem │ │ ├── rootCA.srl │ │ ├── server.crt │ │ ├── server.key │ │ └── tmpl.go │ ├── h2i │ │ ├── README.md │ │ └── h2i.go │ ├── headermap.go │ ├── hpack │ │ ├── encode.go │ │ ├── encode_test.go │ │ ├── hpack.go │ │ ├── hpack_test.go │ │ ├── huffman.go │ │ ├── tables.go │ │ └── tables_test.go │ ├── http2.go │ ├── http2_test.go │ ├── not_go16.go │ ├── not_go17.go │ ├── not_go18.go │ ├── not_go19.go │ ├── pipe.go │ ├── pipe_test.go │ ├── server.go │ ├── server_push_test.go │ ├── server_test.go │ ├── testdata │ │ └── draft-ietf-httpbis-http2.xml │ ├── transport.go │ ├── transport_test.go │ ├── write.go │ ├── writesched.go │ ├── writesched_priority.go │ ├── writesched_priority_test.go │ ├── writesched_random.go │ ├── writesched_random_test.go │ ├── writesched_test.go │ └── z_spec_test.go ├── icmp │ ├── dstunreach.go │ ├── echo.go │ ├── endpoint.go │ ├── example_test.go │ ├── extension.go │ ├── extension_test.go │ ├── helper_posix.go │ ├── interface.go │ ├── ipv4.go │ ├── ipv4_test.go │ ├── ipv6.go │ ├── listen_posix.go │ ├── listen_stub.go │ ├── message.go │ ├── message_test.go │ ├── messagebody.go │ ├── mpls.go │ ├── multipart.go │ ├── multipart_test.go │ ├── packettoobig.go │ ├── paramprob.go │ ├── ping_test.go │ ├── sys_freebsd.go │ └── timeexceeded.go ├── idna │ ├── example_test.go │ ├── idna.go │ ├── idna_test.go │ ├── punycode.go │ ├── punycode_test.go │ ├── tables.go │ ├── trie.go │ └── trieval.go ├── internal │ ├── iana │ │ ├── const.go │ │ └── gen.go │ ├── nettest │ │ ├── helper_bsd.go │ │ ├── helper_nobsd.go │ │ ├── helper_posix.go │ │ ├── helper_stub.go │ │ ├── helper_unix.go │ │ ├── helper_windows.go │ │ ├── interface.go │ │ ├── rlimit.go │ │ └── stack.go │ ├── socket │ │ ├── cmsghdr.go │ │ ├── cmsghdr_bsd.go │ │ ├── cmsghdr_linux_32bit.go │ │ ├── cmsghdr_linux_64bit.go │ │ ├── cmsghdr_solaris_64bit.go │ │ ├── cmsghdr_stub.go │ │ ├── defs_darwin.go │ │ ├── defs_dragonfly.go │ │ ├── defs_freebsd.go │ │ ├── defs_linux.go │ │ ├── defs_netbsd.go │ │ ├── defs_openbsd.go │ │ ├── defs_solaris.go │ │ ├── error_unix.go │ │ ├── error_windows.go │ │ ├── iovec_32bit.go │ │ ├── iovec_64bit.go │ │ ├── iovec_solaris_64bit.go │ │ ├── iovec_stub.go │ │ ├── mmsghdr_stub.go │ │ ├── mmsghdr_unix.go │ │ ├── msghdr_bsd.go │ │ ├── msghdr_bsdvar.go │ │ ├── msghdr_linux.go │ │ ├── msghdr_linux_32bit.go │ │ ├── msghdr_linux_64bit.go │ │ ├── msghdr_openbsd.go │ │ ├── msghdr_solaris_64bit.go │ │ ├── msghdr_stub.go │ │ ├── rawconn.go │ │ ├── rawconn_mmsg.go │ │ ├── rawconn_msg.go │ │ ├── rawconn_nommsg.go │ │ ├── rawconn_nomsg.go │ │ ├── rawconn_stub.go │ │ ├── reflect.go │ │ ├── socket.go │ │ ├── socket_go1_9_test.go │ │ ├── socket_test.go │ │ ├── sys.go │ │ ├── sys_bsd.go │ │ ├── sys_bsdvar.go │ │ ├── sys_darwin.go │ │ ├── sys_dragonfly.go │ │ ├── sys_linux.go │ │ ├── sys_linux_386.go │ │ ├── sys_linux_386.s │ │ ├── sys_linux_amd64.go │ │ ├── sys_linux_arm.go │ │ ├── sys_linux_arm64.go │ │ ├── sys_linux_mips.go │ │ ├── sys_linux_mips64.go │ │ ├── sys_linux_mips64le.go │ │ ├── sys_linux_mipsle.go │ │ ├── sys_linux_ppc64.go │ │ ├── sys_linux_ppc64le.go │ │ ├── sys_linux_s390x.go │ │ ├── sys_linux_s390x.s │ │ ├── sys_netbsd.go │ │ ├── sys_posix.go │ │ ├── sys_solaris.go │ │ ├── sys_solaris_amd64.s │ │ ├── sys_stub.go │ │ ├── sys_unix.go │ │ ├── sys_windows.go │ │ ├── zsys_darwin_386.go │ │ ├── zsys_darwin_amd64.go │ │ ├── zsys_darwin_arm.go │ │ ├── zsys_dragonfly_amd64.go │ │ ├── zsys_freebsd_386.go │ │ ├── zsys_freebsd_amd64.go │ │ ├── zsys_freebsd_arm.go │ │ ├── zsys_linux_386.go │ │ ├── zsys_linux_amd64.go │ │ ├── zsys_linux_arm.go │ │ ├── zsys_linux_arm64.go │ │ ├── zsys_linux_mips.go │ │ ├── zsys_linux_mips64.go │ │ ├── zsys_linux_mips64le.go │ │ ├── zsys_linux_mipsle.go │ │ ├── zsys_linux_ppc64.go │ │ ├── zsys_linux_ppc64le.go │ │ ├── zsys_linux_s390x.go │ │ ├── zsys_netbsd_386.go │ │ ├── zsys_netbsd_amd64.go │ │ ├── zsys_netbsd_arm.go │ │ ├── zsys_openbsd_386.go │ │ ├── zsys_openbsd_amd64.go │ │ ├── zsys_openbsd_arm.go │ │ └── zsys_solaris_amd64.go │ └── timeseries │ │ ├── timeseries.go │ │ └── timeseries_test.go ├── ipv4 │ ├── batch.go │ ├── bpf_test.go │ ├── control.go │ ├── control_bsd.go │ ├── control_pktinfo.go │ ├── control_stub.go │ ├── control_test.go │ ├── control_unix.go │ ├── control_windows.go │ ├── defs_darwin.go │ ├── defs_dragonfly.go │ ├── defs_freebsd.go │ ├── defs_linux.go │ ├── defs_netbsd.go │ ├── defs_openbsd.go │ ├── defs_solaris.go │ ├── dgramopt.go │ ├── doc.go │ ├── endpoint.go │ ├── example_test.go │ ├── gen.go │ ├── genericopt.go │ ├── header.go │ ├── header_test.go │ ├── helper.go │ ├── iana.go │ ├── icmp.go │ ├── icmp_linux.go │ ├── icmp_stub.go │ ├── icmp_test.go │ ├── multicast_test.go │ ├── multicastlistener_test.go │ ├── multicastsockopt_test.go │ ├── packet.go │ ├── packet_go1_8.go │ ├── packet_go1_9.go │ ├── payload.go │ ├── payload_cmsg.go │ ├── payload_cmsg_go1_8.go │ ├── payload_cmsg_go1_9.go │ ├── payload_nocmsg.go │ ├── readwrite_go1_8_test.go │ ├── readwrite_go1_9_test.go │ ├── readwrite_test.go │ ├── sockopt.go │ ├── sockopt_posix.go │ ├── sockopt_stub.go │ ├── sys_asmreq.go │ ├── sys_asmreq_stub.go │ ├── sys_asmreqn.go │ ├── sys_asmreqn_stub.go │ ├── sys_bpf.go │ ├── sys_bpf_stub.go │ ├── sys_bsd.go │ ├── sys_darwin.go │ ├── sys_dragonfly.go │ ├── sys_freebsd.go │ ├── sys_linux.go │ ├── sys_solaris.go │ ├── sys_ssmreq.go │ ├── sys_ssmreq_stub.go │ ├── sys_stub.go │ ├── sys_windows.go │ ├── unicast_test.go │ ├── unicastsockopt_test.go │ ├── zsys_darwin.go │ ├── zsys_dragonfly.go │ ├── zsys_freebsd_386.go │ ├── zsys_freebsd_amd64.go │ ├── zsys_freebsd_arm.go │ ├── zsys_linux_386.go │ ├── zsys_linux_amd64.go │ ├── zsys_linux_arm.go │ ├── zsys_linux_arm64.go │ ├── zsys_linux_mips.go │ ├── zsys_linux_mips64.go │ ├── zsys_linux_mips64le.go │ ├── zsys_linux_mipsle.go │ ├── zsys_linux_ppc.go │ ├── zsys_linux_ppc64.go │ ├── zsys_linux_ppc64le.go │ ├── zsys_linux_s390x.go │ ├── zsys_netbsd.go │ ├── zsys_openbsd.go │ └── zsys_solaris.go ├── ipv6 │ ├── batch.go │ ├── bpf_test.go │ ├── control.go │ ├── control_rfc2292_unix.go │ ├── control_rfc3542_unix.go │ ├── control_stub.go │ ├── control_test.go │ ├── control_unix.go │ ├── control_windows.go │ ├── defs_darwin.go │ ├── defs_dragonfly.go │ ├── defs_freebsd.go │ ├── defs_linux.go │ ├── defs_netbsd.go │ ├── defs_openbsd.go │ ├── defs_solaris.go │ ├── dgramopt.go │ ├── doc.go │ ├── endpoint.go │ ├── example_test.go │ ├── gen.go │ ├── genericopt.go │ ├── header.go │ ├── header_test.go │ ├── helper.go │ ├── iana.go │ ├── icmp.go │ ├── icmp_bsd.go │ ├── icmp_linux.go │ ├── icmp_solaris.go │ ├── icmp_stub.go │ ├── icmp_test.go │ ├── icmp_windows.go │ ├── mocktransponder_test.go │ ├── multicast_test.go │ ├── multicastlistener_test.go │ ├── multicastsockopt_test.go │ ├── payload.go │ ├── payload_cmsg.go │ ├── payload_cmsg_go1_8.go │ ├── payload_cmsg_go1_9.go │ ├── payload_nocmsg.go │ ├── readwrite_go1_8_test.go │ ├── readwrite_go1_9_test.go │ ├── readwrite_test.go │ ├── sockopt.go │ ├── sockopt_posix.go │ ├── sockopt_stub.go │ ├── sockopt_test.go │ ├── sys_asmreq.go │ ├── sys_asmreq_stub.go │ ├── sys_bpf.go │ ├── sys_bpf_stub.go │ ├── sys_bsd.go │ ├── sys_darwin.go │ ├── sys_freebsd.go │ ├── sys_linux.go │ ├── sys_solaris.go │ ├── sys_ssmreq.go │ ├── sys_ssmreq_stub.go │ ├── sys_stub.go │ ├── sys_windows.go │ ├── unicast_test.go │ ├── unicastsockopt_test.go │ ├── zsys_darwin.go │ ├── zsys_dragonfly.go │ ├── zsys_freebsd_386.go │ ├── zsys_freebsd_amd64.go │ ├── zsys_freebsd_arm.go │ ├── zsys_linux_386.go │ ├── zsys_linux_amd64.go │ ├── zsys_linux_arm.go │ ├── zsys_linux_arm64.go │ ├── zsys_linux_mips.go │ ├── zsys_linux_mips64.go │ ├── zsys_linux_mips64le.go │ ├── zsys_linux_mipsle.go │ ├── zsys_linux_ppc.go │ ├── zsys_linux_ppc64.go │ ├── zsys_linux_ppc64le.go │ ├── zsys_linux_s390x.go │ ├── zsys_netbsd.go │ ├── zsys_openbsd.go │ └── zsys_solaris.go ├── lex │ └── httplex │ │ ├── httplex.go │ │ └── httplex_test.go ├── lif │ ├── address.go │ ├── address_test.go │ ├── binary.go │ ├── defs_solaris.go │ ├── lif.go │ ├── link.go │ ├── link_test.go │ ├── sys.go │ ├── sys_solaris_amd64.s │ ├── syscall.go │ └── zsys_solaris_amd64.go ├── nettest │ ├── conntest.go │ ├── conntest_go16.go │ ├── conntest_go17.go │ └── conntest_test.go ├── netutil │ ├── listen.go │ └── listen_test.go ├── proxy │ ├── direct.go │ ├── per_host.go │ ├── per_host_test.go │ ├── proxy.go │ ├── proxy_test.go │ └── socks5.go ├── publicsuffix │ ├── gen.go │ ├── list.go │ ├── list_test.go │ ├── table.go │ └── table_test.go ├── route │ ├── address.go │ ├── address_darwin_test.go │ ├── address_test.go │ ├── binary.go │ ├── defs_darwin.go │ ├── defs_dragonfly.go │ ├── defs_freebsd.go │ ├── defs_netbsd.go │ ├── defs_openbsd.go │ ├── interface.go │ ├── interface_announce.go │ ├── interface_classic.go │ ├── interface_freebsd.go │ ├── interface_multicast.go │ ├── interface_openbsd.go │ ├── message.go │ ├── message_darwin_test.go │ ├── message_freebsd_test.go │ ├── message_test.go │ ├── route.go │ ├── route_classic.go │ ├── route_openbsd.go │ ├── route_test.go │ ├── sys.go │ ├── sys_darwin.go │ ├── sys_dragonfly.go │ ├── sys_freebsd.go │ ├── sys_netbsd.go │ ├── sys_openbsd.go │ ├── syscall.go │ ├── zsys_darwin.go │ ├── zsys_dragonfly.go │ ├── zsys_freebsd_386.go │ ├── zsys_freebsd_amd64.go │ ├── zsys_freebsd_arm.go │ ├── zsys_netbsd.go │ └── zsys_openbsd.go ├── trace │ ├── events.go │ ├── histogram.go │ ├── histogram_test.go │ ├── trace.go │ ├── trace_go16.go │ ├── trace_go17.go │ └── trace_test.go ├── webdav │ ├── file.go │ ├── file_go1.6.go │ ├── file_go1.7.go │ ├── file_test.go │ ├── if.go │ ├── if_test.go │ ├── internal │ │ └── xml │ │ │ ├── README │ │ │ ├── atom_test.go │ │ │ ├── example_test.go │ │ │ ├── marshal.go │ │ │ ├── marshal_test.go │ │ │ ├── read.go │ │ │ ├── read_test.go │ │ │ ├── typeinfo.go │ │ │ ├── xml.go │ │ │ └── xml_test.go │ ├── litmus_test_server.go │ ├── lock.go │ ├── lock_test.go │ ├── prop.go │ ├── prop_test.go │ ├── webdav.go │ ├── webdav_test.go │ ├── xml.go │ └── xml_test.go ├── websocket │ ├── client.go │ ├── dial.go │ ├── dial_test.go │ ├── exampledial_test.go │ ├── examplehandler_test.go │ ├── hybi.go │ ├── hybi_test.go │ ├── server.go │ ├── websocket.go │ └── websocket_test.go └── xsrftoken │ ├── xsrf.go │ └── xsrf_test.go └── tools ├── .gitattributes ├── .gitignore ├── AUTHORS ├── CONTRIBUTING.md ├── CONTRIBUTORS ├── LICENSE ├── PATENTS ├── README ├── benchmark └── parse │ ├── parse.go │ └── parse_test.go ├── blog ├── atom │ └── atom.go └── blog.go ├── cmd ├── benchcmp │ ├── benchcmp.go │ ├── benchcmp_test.go │ ├── compare.go │ ├── compare_test.go │ └── doc.go ├── bundle │ ├── .gitignore │ ├── main.go │ ├── main_test.go │ └── testdata │ │ ├── out.golden │ │ └── src │ │ ├── domain.name │ │ └── importdecl │ │ │ └── p.go │ │ └── initial │ │ ├── a.go │ │ ├── b.go │ │ └── c.go ├── callgraph │ ├── main.go │ ├── main_test.go │ └── testdata │ │ └── src │ │ └── pkg │ │ ├── pkg.go │ │ └── pkg_test.go ├── compilebench │ └── main.go ├── cover │ ├── README │ ├── cover.go │ ├── cover_test.go │ ├── doc.go │ ├── func.go │ ├── html.go │ └── testdata │ │ ├── main.go │ │ └── test.go ├── digraph │ ├── digraph.go │ └── digraph_test.go ├── eg │ └── eg.go ├── fiximports │ ├── main.go │ ├── main_test.go │ └── testdata │ │ └── src │ │ ├── fruit.io │ │ ├── banana │ │ │ └── banana.go │ │ ├── orange │ │ │ └── orange.go │ │ └── pear │ │ │ └── pear.go │ │ ├── new.com │ │ └── one │ │ │ └── one.go │ │ ├── old.com │ │ ├── bad │ │ │ └── bad.go │ │ └── one │ │ │ └── one.go │ │ └── titanic.biz │ │ ├── bar │ │ └── bar.go │ │ └── foo │ │ └── foo.go ├── getgo │ ├── .dockerignore │ ├── .gitignore │ ├── Dockerfile │ ├── LICENSE │ ├── README.md │ ├── download.go │ ├── download_test.go │ ├── main.go │ ├── main_test.go │ ├── make.bash │ ├── path.go │ ├── path_test.go │ ├── server │ │ ├── README.md │ │ ├── app.yaml │ │ └── main.go │ ├── steps.go │ ├── system.go │ ├── system_unix.go │ ├── system_windows.go │ └── upload.bash ├── go-contrib-init │ ├── contrib.go │ └── contrib_test.go ├── godex │ ├── doc.go │ ├── gc.go │ ├── gccgo.go │ ├── godex.go │ ├── isAlias18.go │ ├── isAlias19.go │ ├── print.go │ ├── source.go │ └── writetype.go ├── godoc │ ├── README.godoc-app │ ├── appinit.go │ ├── autocert.go │ ├── blog.go │ ├── codewalk.go │ ├── dl.go │ ├── doc.go │ ├── godoc19_test.go │ ├── godoc_test.go │ ├── handlers.go │ ├── index.go │ ├── main.go │ ├── play.go │ ├── remotesearch.go │ ├── setup-godoc-app.bash │ └── x.go ├── goimports │ ├── doc.go │ ├── goimports.go │ ├── goimports_gc.go │ └── goimports_not_gc.go ├── gomvpkg │ └── main.go ├── gorename │ ├── cgo_test.go │ ├── gorename_test.go │ └── main.go ├── gotype │ ├── gotype.go │ ├── sizesFor18.go │ └── sizesFor19.go ├── goyacc │ ├── doc.go │ ├── testdata │ │ └── expr │ │ │ ├── README │ │ │ ├── expr.y │ │ │ └── main.go │ └── yacc.go ├── guru │ ├── callees.go │ ├── callers.go │ ├── callstack.go │ ├── definition.go │ ├── describe.go │ ├── freevars.go │ ├── guru.go │ ├── guru_test.go │ ├── implements.go │ ├── isAlias18.go │ ├── isAlias19.go │ ├── main.go │ ├── peers.go │ ├── pointsto.go │ ├── pos.go │ ├── referrers.go │ ├── serial │ │ └── serial.go │ ├── testdata │ │ └── src │ │ │ ├── README.txt │ │ │ ├── alias │ │ │ ├── alias.go │ │ │ └── alias.golden │ │ │ ├── calls-json │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── calls │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── definition-json │ │ │ ├── main.go │ │ │ ├── main.golden │ │ │ ├── main19.go │ │ │ ├── main19.golden │ │ │ └── type.go │ │ │ ├── describe-json │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── describe │ │ │ ├── main.go │ │ │ ├── main.golden │ │ │ ├── main19.go │ │ │ └── main19.golden │ │ │ ├── freevars │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── implements-json │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── implements-methods-json │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── implements-methods │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── implements │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── imports │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── lib │ │ │ ├── lib.go │ │ │ └── sublib │ │ │ │ └── sublib.go │ │ │ ├── main │ │ │ └── multi.go │ │ │ ├── peers-json │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── peers │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── pointsto-json │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── pointsto │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── referrers-json │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── referrers │ │ │ ├── ext_test.go │ │ │ ├── int_test.go │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── reflection │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── softerrs │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── what-json │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ ├── what │ │ │ ├── main.go │ │ │ └── main.golden │ │ │ └── whicherrs │ │ │ ├── main.go │ │ │ └── main.golden │ ├── unit_test.go │ ├── what.go │ └── whicherrs.go ├── heapview │ ├── client │ │ ├── .clang-format │ │ ├── .gitignore │ │ ├── README.md │ │ ├── main.ts │ │ ├── main_test.ts │ │ ├── package.json │ │ ├── testing │ │ │ ├── karma.conf.js │ │ │ └── test_main.js │ │ ├── tsconfig.json │ │ └── tslint.json │ ├── internal │ │ └── core │ │ │ ├── mmapfile.go │ │ │ ├── mmapfile_other.go │ │ │ └── raw.go │ └── main.go ├── html2article │ └── conv.go ├── present │ ├── appengine.go │ ├── dir.go │ ├── doc.go │ ├── local.go │ ├── play.go │ ├── play_http.go │ ├── play_socket.go │ ├── static │ │ ├── article.css │ │ ├── dir.css │ │ ├── dir.js │ │ ├── favicon.ico │ │ ├── jquery-ui.js │ │ ├── notes.css │ │ ├── notes.js │ │ ├── slides.js │ │ └── styles.css │ └── templates │ │ ├── action.tmpl │ │ ├── article.tmpl │ │ ├── dir.tmpl │ │ └── slides.tmpl ├── ssadump │ └── main.go ├── stress │ └── stress.go ├── stringer │ ├── endtoend_test.go │ ├── golden_test.go │ ├── importer18.go │ ├── importer19.go │ ├── stringer.go │ ├── testdata │ │ ├── cgo.go │ │ ├── day.go │ │ ├── gap.go │ │ ├── num.go │ │ ├── number.go │ │ ├── prime.go │ │ ├── unum.go │ │ └── unum2.go │ └── util_test.go ├── tip │ ├── Dockerfile │ ├── Makefile │ ├── README │ ├── cert.go │ ├── godoc.go │ ├── godoc.yaml │ ├── talks.go │ ├── talks.yaml │ ├── tip-rc.yaml │ ├── tip-service.yaml │ ├── tip.go │ └── tip_test.go └── toolstash │ ├── buildall │ ├── cmp.go │ └── main.go ├── codereview.cfg ├── container └── intsets │ ├── popcnt_amd64.go │ ├── popcnt_amd64.s │ ├── popcnt_gccgo.go │ ├── popcnt_gccgo_c.c │ ├── popcnt_generic.go │ ├── sparse.go │ ├── sparse_test.go │ ├── util.go │ └── util_test.go ├── cover └── profile.go ├── go ├── ast │ └── astutil │ │ ├── enclosing.go │ │ ├── enclosing_test.go │ │ ├── imports.go │ │ ├── imports_test.go │ │ └── util.go ├── buildutil │ ├── allpackages.go │ ├── allpackages_test.go │ ├── fakecontext.go │ ├── overlay.go │ ├── overlay_test.go │ ├── tags.go │ ├── tags_test.go │ ├── util.go │ ├── util_test.go │ └── util_windows_test.go ├── callgraph │ ├── callgraph.go │ ├── cha │ │ ├── cha.go │ │ ├── cha_test.go │ │ └── testdata │ │ │ ├── func.go │ │ │ ├── iface.go │ │ │ └── recv.go │ ├── rta │ │ ├── rta.go │ │ ├── rta_test.go │ │ └── testdata │ │ │ ├── func.go │ │ │ ├── iface.go │ │ │ └── rtype.go │ ├── static │ │ ├── static.go │ │ └── static_test.go │ └── util.go ├── gccgoexportdata │ ├── gccgoexportdata.go │ ├── gccgoexportdata_test.go │ └── testdata │ │ └── errors.gox ├── gcexportdata │ ├── example_test.go │ ├── gcexportdata.go │ ├── gcexportdata_test.go │ ├── importer.go │ └── main.go ├── gcimporter15 │ ├── bexport.go │ ├── bexport19_test.go │ ├── bexport_test.go │ ├── bimport.go │ ├── exportdata.go │ ├── gcimporter.go │ ├── gcimporter_test.go │ ├── isAlias18.go │ ├── isAlias19.go │ └── testdata │ │ ├── a.go │ │ ├── b.go │ │ ├── exports.go │ │ ├── issue15920.go │ │ ├── issue20046.go │ │ ├── p.go │ │ └── versions │ │ └── test.go ├── internal │ └── gccgoimporter │ │ ├── backdoor.go │ │ ├── gccgoinstallation.go │ │ ├── gccgoinstallation_test.go │ │ ├── importer.go │ │ ├── importer19_test.go │ │ ├── importer_test.go │ │ ├── parser.go │ │ ├── parser_test.go │ │ ├── testdata │ │ ├── alias.gox │ │ ├── complexnums.go │ │ ├── complexnums.gox │ │ ├── conversions.go │ │ ├── conversions.gox │ │ ├── imports.go │ │ ├── imports.gox │ │ ├── pointer.go │ │ ├── pointer.gox │ │ ├── time.gox │ │ └── unicode.gox │ │ └── testenv_test.go ├── loader │ ├── cgo.go │ ├── cgo_pkgconfig.go │ ├── doc.go │ ├── example_test.go │ ├── loader.go │ ├── loader_test.go │ ├── stdlib_test.go │ ├── testdata │ │ ├── a.go │ │ ├── b.go │ │ └── badpkgdecl.go │ └── util.go ├── pointer │ ├── TODO │ ├── analysis.go │ ├── api.go │ ├── callgraph.go │ ├── constraint.go │ ├── doc.go │ ├── example_test.go │ ├── gen.go │ ├── hvn.go │ ├── intrinsics.go │ ├── labels.go │ ├── opt.go │ ├── pointer_test.go │ ├── print.go │ ├── query.go │ ├── query_test.go │ ├── reflect.go │ ├── solve.go │ ├── stdlib_test.go │ ├── testdata │ │ ├── a_test.go │ │ ├── another.go │ │ ├── arrayreflect.go │ │ ├── arrays.go │ │ ├── channels.go │ │ ├── chanreflect.go │ │ ├── chanreflect1.go │ │ ├── context.go │ │ ├── conv.go │ │ ├── extended.go │ │ ├── finalizer.go │ │ ├── flow.go │ │ ├── fmtexcerpt.go │ │ ├── func.go │ │ ├── funcreflect.go │ │ ├── hello.go │ │ ├── interfaces.go │ │ ├── issue9002.go │ │ ├── mapreflect.go │ │ ├── maps.go │ │ ├── panic.go │ │ ├── recur.go │ │ ├── reflect.go │ │ ├── rtti.go │ │ ├── structreflect.go │ │ ├── structs.go │ │ └── timer.go │ └── util.go ├── ssa │ ├── blockopt.go │ ├── builder.go │ ├── builder_test.go │ ├── const.go │ ├── create.go │ ├── doc.go │ ├── dom.go │ ├── emit.go │ ├── example_test.go │ ├── func.go │ ├── identical.go │ ├── identical_17.go │ ├── identical_test.go │ ├── interp │ │ ├── external.go │ │ ├── external_darwin.go │ │ ├── external_unix.go │ │ ├── interp.go │ │ ├── interp_test.go │ │ ├── map.go │ │ ├── ops.go │ │ ├── reflect.go │ │ ├── testdata │ │ │ ├── a_test.go │ │ │ ├── b_test.go │ │ │ ├── boundmeth.go │ │ │ ├── c_test.go │ │ │ ├── callstack.go │ │ │ ├── complit.go │ │ │ ├── coverage.go │ │ │ ├── defer.go │ │ │ ├── fieldprom.go │ │ │ ├── ifaceconv.go │ │ │ ├── ifaceprom.go │ │ │ ├── initorder.go │ │ │ ├── methprom.go │ │ │ ├── mrvchain.go │ │ │ ├── range.go │ │ │ ├── recover.go │ │ │ ├── reflect.go │ │ │ └── static.go │ │ └── value.go │ ├── lift.go │ ├── lvalue.go │ ├── methods.go │ ├── mode.go │ ├── print.go │ ├── sanity.go │ ├── source.go │ ├── source_test.go │ ├── ssa.go │ ├── ssautil │ │ ├── load.go │ │ ├── load_test.go │ │ ├── switch.go │ │ ├── switch_test.go │ │ ├── testdata │ │ │ └── switches.go │ │ └── visit.go │ ├── stdlib_test.go │ ├── testdata │ │ ├── objlookup.go │ │ ├── structconv.go │ │ └── valueforexpr.go │ ├── testmain.go │ ├── testmain_test.go │ ├── util.go │ └── wrappers.go ├── types │ └── typeutil │ │ ├── example_test.go │ │ ├── imports.go │ │ ├── imports_test.go │ │ ├── map.go │ │ ├── map_test.go │ │ ├── methodsetcache.go │ │ ├── ui.go │ │ └── ui_test.go └── vcs │ ├── discovery.go │ ├── env.go │ ├── http.go │ ├── vcs.go │ └── vcs_test.go ├── godoc ├── README.md ├── analysis │ ├── README │ ├── analysis.go │ ├── callgraph.go │ ├── implements.go │ ├── json.go │ ├── peers.go │ └── typeinfo.go ├── appengine.go ├── cmdline.go ├── cmdline_test.go ├── corpus.go ├── dirtrees.go ├── dl │ ├── dl.go │ ├── dl_test.go │ └── tmpl.go ├── format.go ├── godoc.go ├── godoc17_test.go ├── godoc_test.go ├── index.go ├── index_test.go ├── linkify.go ├── meta.go ├── page.go ├── parser.go ├── pres.go ├── proxy │ └── proxy.go ├── redirect │ ├── hash.go │ ├── redirect.go │ └── redirect_test.go ├── search.go ├── server.go ├── short │ ├── short.go │ └── tmpl.go ├── snippet.go ├── spec.go ├── spot.go ├── static │ ├── analysis │ │ ├── call-eg.png │ │ ├── call3.png │ │ ├── callers1.png │ │ ├── callers2.png │ │ ├── chan1.png │ │ ├── chan2a.png │ │ ├── chan2b.png │ │ ├── error1.png │ │ ├── help.html │ │ ├── ident-def.png │ │ ├── ident-field.png │ │ ├── ident-func.png │ │ ├── ipcg-func.png │ │ ├── ipcg-pkg.png │ │ ├── typeinfo-pkg.png │ │ └── typeinfo-src.png │ ├── callgraph.html │ ├── codewalk.html │ ├── codewalkdir.html │ ├── dirlist.html │ ├── doc.go │ ├── error.html │ ├── example.html │ ├── gen.go │ ├── godoc.html │ ├── godocs.js │ ├── images │ │ ├── minus.gif │ │ ├── plus.gif │ │ ├── treeview-black-line.gif │ │ ├── treeview-black.gif │ │ ├── treeview-default-line.gif │ │ ├── treeview-default.gif │ │ ├── treeview-gray-line.gif │ │ └── treeview-gray.gif │ ├── implements.html │ ├── jquery.js │ ├── jquery.treeview.css │ ├── jquery.treeview.edit.js │ ├── jquery.treeview.js │ ├── makestatic.go │ ├── methodset.html │ ├── opensearch.xml │ ├── package.html │ ├── package.txt │ ├── play.js │ ├── playground.js │ ├── search.html │ ├── search.txt │ ├── searchcode.html │ ├── searchdoc.html │ ├── searchtxt.html │ ├── static.go │ └── style.css ├── tab.go ├── template.go ├── util │ ├── throttle.go │ └── util.go └── vfs │ ├── emptyvfs.go │ ├── emptyvfs_test.go │ ├── gatefs │ └── gatefs.go │ ├── httpfs │ └── httpfs.go │ ├── mapfs │ ├── mapfs.go │ └── mapfs_test.go │ ├── namespace.go │ ├── os.go │ ├── vfs.go │ └── zipfs │ ├── zipfs.go │ └── zipfs_test.go ├── imports ├── fastwalk.go ├── fastwalk_dirent_fileno.go ├── fastwalk_dirent_ino.go ├── fastwalk_portable.go ├── fastwalk_test.go ├── fastwalk_unix.go ├── fix.go ├── fix_test.go ├── imports.go ├── mkindex.go ├── mkstdlib.go ├── sortimports.go └── zstdlib.go ├── playground ├── appengine.go ├── appenginevm.go ├── common.go ├── local.go └── socket │ ├── socket.go │ └── socket_test.go ├── present ├── args.go ├── caption.go ├── code.go ├── code_test.go ├── doc.go ├── html.go ├── iframe.go ├── image.go ├── link.go ├── link_test.go ├── parse.go ├── style.go ├── style_test.go └── video.go ├── refactor ├── README ├── eg │ ├── eg.go │ ├── eg_test.go │ ├── match.go │ ├── rewrite.go │ └── testdata │ │ ├── A.template │ │ ├── A1.go │ │ ├── A1.golden │ │ ├── A2.go │ │ ├── A2.golden │ │ ├── B.template │ │ ├── B1.go │ │ ├── B1.golden │ │ ├── C.template │ │ ├── C1.go │ │ ├── C1.golden │ │ ├── D.template │ │ ├── D1.go │ │ ├── D1.golden │ │ ├── E.template │ │ ├── E1.go │ │ ├── E1.golden │ │ ├── F.template │ │ ├── F1.go │ │ ├── F1.golden │ │ ├── G.template │ │ ├── G1.go │ │ ├── G1.golden │ │ ├── H.template │ │ ├── H1.go │ │ ├── H1.golden │ │ ├── bad_type.template │ │ ├── expr_type_mismatch.template │ │ ├── no_after_return.template │ │ ├── no_before.template │ │ └── type_mismatch.template ├── importgraph │ ├── graph.go │ └── graph_test.go ├── rename │ ├── check.go │ ├── mvpkg.go │ ├── mvpkg_test.go │ ├── rename.go │ ├── rename_test.go │ ├── spec.go │ └── util.go └── satisfy │ └── find.go └── third_party ├── moduleloader ├── LICENSE └── moduleloader.js ├── typescript ├── LICENSE └── typescript.js └── webcomponents ├── LICENSE └── customelements.js /.fsw.yml: -------------------------------------------------------------------------------- 1 | desc: Auto generated by fswatch [gosuv] 2 | triggers: 3 | - name: "" 4 | pattens: 5 | - '**/*.go' 6 | - '**/*.c' 7 | - '**/*.py' 8 | env: 9 | DEBUG: "1" 10 | cmd: sh ./build.sh 11 | shell: true 12 | delay: 100ms 13 | signal: TERM 14 | watch_paths: 15 | - . 16 | watch_depth: 0 17 | -------------------------------------------------------------------------------- /.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 | 26 | dist/ 27 | output/ 28 | bindata_assetfs.go 29 | assets_vfsdata.go 30 | -------------------------------------------------------------------------------- /.gopack.yml: -------------------------------------------------------------------------------- 1 | author: codeskyblue 2 | description: Port of python supervisor 3 | os: darwin linux 4 | includes: [] 5 | excludes: 6 | - \.git 7 | script: 8 | - go build -tags bindata -ldflags "-X main.Version=$(git describe --tags --dirty --always)" 9 | -------------------------------------------------------------------------------- /.goreleaser.yml: -------------------------------------------------------------------------------- 1 | builds: 2 | - 3 | goos: 4 | - linux 5 | - darwin 6 | - windows 7 | goarch: 8 | - amd64 9 | - arm 10 | goarm: 11 | - 6 12 | - 7 13 | ignore: 14 | - goos: darwin 15 | goarch: arm 16 | flags: -tags vfs 17 | hooks: 18 | pre: go generate -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.7 5 | install: 6 | - go get -v 7 | script: 8 | - go test -v 9 | after_success: 10 | - test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash 11 | -------------------------------------------------------------------------------- /assets_dev.go: -------------------------------------------------------------------------------- 1 | // +build !vfs 2 | //go:generate go run assets_generate.go 3 | 4 | package main 5 | 6 | import "net/http" 7 | 8 | // Assets contains project assets. 9 | var Assets http.FileSystem = http.Dir("res") 10 | -------------------------------------------------------------------------------- /assets_generate.go: -------------------------------------------------------------------------------- 1 | // +build ignore 2 | 3 | package main 4 | 5 | import ( 6 | "log" 7 | "net/http" 8 | 9 | "github.com/shurcooL/vfsgen" 10 | ) 11 | 12 | func main() { 13 | var fs http.FileSystem = http.Dir("res") 14 | 15 | err := vfsgen.Generate(fs, vfsgen.Options{ 16 | PackageName: "main", 17 | BuildTags: "vfs", 18 | VariableName: "Assets", 19 | }) 20 | if err != nil { 21 | log.Fatalln(err) 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /docs/gosuv.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/docs/gosuv.gif -------------------------------------------------------------------------------- /docs/states.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/docs/states.png -------------------------------------------------------------------------------- /example/config.yml: -------------------------------------------------------------------------------- 1 | include: "" 2 | server: 3 | httpserver: 4 | enabled: false 5 | addr: 127.0.0.1:11333 6 | unixserver: 7 | enabled: true 8 | sockfile: /tmp/.gosuv.sock 9 | auth: 10 | enabled: false 11 | username: "" 12 | password: "" 13 | ipfile: "" 14 | pidfile: /tmp/.gosuv.pid 15 | log: 16 | logpath: /tmp/logs 17 | level: info 18 | filemax: 10000 19 | backups: 7 20 | minfds: 0 21 | minprocs: 0 22 | client: 23 | server_url: unix:///tmp/.gosuv.sock 24 | username: "" 25 | password: "" 26 | -------------------------------------------------------------------------------- /example/programs.yml: -------------------------------------------------------------------------------- 1 | - name: redis-test # programs的名字唯一 2 | command: redis-server --port 6679 3 | environ: [] 4 | directory: /tmp 5 | start_auto: true 6 | start_retries: 3 7 | log_disable: false # 是否禁用屏幕输出 默认为false 8 | user: work #指定用户启动, 但是非root不用指定用户 9 | redirect_stderr : true # 把 stderr 重定向到 stdout,默认 false 10 | 11 | -------------------------------------------------------------------------------- /example/test_programs.yml: -------------------------------------------------------------------------------- 1 | - name: redis-test # programs的名字唯一 2 | command: redis-server --port 6679 3 | environ: [] 4 | directory: /tmp 5 | start_auto: false 6 | start_retries: 3 7 | user: work #指定用户启动, 但是非root不用指定用户 8 | redirect_stderr : true # 把 stderr 重定向到 stdout,默认 false 9 | -------------------------------------------------------------------------------- /example/testconf.yml: -------------------------------------------------------------------------------- 1 | include: ./conf/programs.yml 2 | server: 3 | httpserver: 4 | enabled: false 5 | addr: :11333 6 | unix_server: 7 | enabled: true 8 | sockfile: ./.gosuv.sock 9 | auth: 10 | enabled: true 11 | username: abc 12 | password: abc 13 | ipfile: "" 14 | pidfile: ./.gosuv.pid 15 | log: 16 | logpath: ./logs 17 | level: info 18 | filemax: 50MB 19 | backups: 10 20 | minfds: 1024 21 | minprocs: 1024 22 | client: 23 | server_url: unix:// 24 | username: abc 25 | password: abc 26 | -------------------------------------------------------------------------------- /glide.yaml: -------------------------------------------------------------------------------- 1 | package: github.com/codeskyblue/gosuv 2 | import: 3 | - package: github.com/codeskyblue/kexec 4 | - package: github.com/equinox-io/equinox 5 | - package: github.com/franela/goreq 6 | - package: github.com/glycerine/rbuf 7 | - package: github.com/go-yaml/yaml 8 | - package: github.com/goji/httpauth 9 | - package: github.com/gorilla/mux 10 | - package: github.com/gorilla/websocket 11 | - package: github.com/kennygrant/sanitize 12 | - package: github.com/mitchellh/go-ps 13 | - package: github.com/shurcooL/vfsgen 14 | - package: github.com/urfave/cli 15 | - package: github.com/facebookgo/atomicfile 16 | testImport: 17 | - package: github.com/smartystreets/goconvey 18 | subpackages: 19 | - convey 20 | -------------------------------------------------------------------------------- /gops/gops_test.go: -------------------------------------------------------------------------------- 1 | package gops 2 | 3 | import "testing" 4 | 5 | func TestProcInfo(t *testing.T) { 6 | p, err := NewProcess(6464) 7 | if err != nil { 8 | t.Fatal(err) 9 | } 10 | pi, err := p.ProcInfo() 11 | if err != nil { 12 | t.Fatal(err) 13 | } 14 | t.Log(pi) 15 | } 16 | -------------------------------------------------------------------------------- /res/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/res/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /res/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/res/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /res/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/res/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /res/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/res/bootstrap-3.3.5/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /res/bootstrap-3.3.5/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /res/font-awesome-4.6.3/HELP-US-OUT.txt: -------------------------------------------------------------------------------- 1 | I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project, 2 | Fort Awesome (https://fortawesome.com). It makes it easy to put the perfect icons on your website. Choose from our awesome, 3 | comprehensive icon sets or copy and paste your own. 4 | 5 | Please. Check it out. 6 | 7 | -Dave Gandy 8 | -------------------------------------------------------------------------------- /res/font-awesome-4.6.3/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/res/font-awesome-4.6.3/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /res/font-awesome-4.6.3/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/res/font-awesome-4.6.3/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /res/font-awesome-4.6.3/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/res/font-awesome-4.6.3/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /res/font-awesome-4.6.3/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/res/font-awesome-4.6.3/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /res/font-awesome-4.6.3/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/res/font-awesome-4.6.3/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /res/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/res/images/favicon.ico -------------------------------------------------------------------------------- /res/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/res/images/favicon.png -------------------------------------------------------------------------------- /shell.go: -------------------------------------------------------------------------------- 1 | package main 2 | -------------------------------------------------------------------------------- /vendor/github.com/cihub/seelog/internals_baseerror.go: -------------------------------------------------------------------------------- 1 | package seelog 2 | 3 | // Base struct for custom errors. 4 | type baseError struct { 5 | message string 6 | } 7 | 8 | func (be baseError) Error() string { 9 | return be.message 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/codeskyblue/kexec/.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 | -------------------------------------------------------------------------------- /vendor/github.com/codeskyblue/kexec/examples/example.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "log" 5 | "syscall" 6 | "time" 7 | 8 | "github.com/codeskyblue/kexec" 9 | ) 10 | 11 | func main() { 12 | p := kexec.CommandString("python flask_main.py") 13 | p.Start() 14 | time.Sleep(3 * time.Second) 15 | err := p.Terminate(syscall.SIGKILL) 16 | if err != nil { 17 | log.Println(err) 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/codeskyblue/kexec/examples/flask_main.py: -------------------------------------------------------------------------------- 1 | import flask 2 | 3 | app = flask.Flask(__name__) 4 | 5 | if __name__ == '__main__': 6 | app.run(port=46732, debug=True) 7 | -------------------------------------------------------------------------------- /vendor/github.com/codeskyblue/kexec/tests/Procfile: -------------------------------------------------------------------------------- 1 | web: python flask_main.py 2 | -------------------------------------------------------------------------------- /vendor/github.com/codeskyblue/kexec/tests/flask_main.py: -------------------------------------------------------------------------------- 1 | import flask 2 | 3 | 4 | app = flask.Flask(__name__) 5 | 6 | @app.route('/') 7 | def homepage(): 8 | return 'Home' 9 | 10 | if __name__ == '__main__': 11 | app.run(debug=True, host='0.0.0.0') -------------------------------------------------------------------------------- /vendor/github.com/codeskyblue/kexec/tests/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "kproc" 6 | "log" 7 | "os/exec" 8 | "syscall" 9 | "time" 10 | ) 11 | 12 | func main() { 13 | p := kproc.ProcString("python flask_main.py") 14 | p.Start() 15 | time.Sleep(10 * time.Second) 16 | err := p.Terminate(syscall.SIGKILL) 17 | if err != nil { 18 | log.Println(err) 19 | } 20 | out, _ := exec.Command("lsof", "-i:5000").CombinedOutput() 21 | fmt.Println(string(out)) 22 | } 23 | -------------------------------------------------------------------------------- /vendor/github.com/codeskyblue/kexec/tests/tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/codeskyblue/kexec/tests/tests -------------------------------------------------------------------------------- /vendor/github.com/elazarl/go-bindata-assetfs/doc.go: -------------------------------------------------------------------------------- 1 | // assetfs allows packages to serve static content embedded 2 | // with the go-bindata tool with the standard net/http package. 3 | // 4 | // See https://github.com/jteeuwen/go-bindata for more information 5 | // about embedding binary data with go-bindata. 6 | // 7 | // Usage example, after running 8 | // $ go-bindata data/... 9 | // use: 10 | // http.Handle("/", 11 | // http.FileServer( 12 | // &assetfs.AssetFS{Asset: Asset, AssetDir: AssetDir, Prefix: "data"})) 13 | package assetfs 14 | -------------------------------------------------------------------------------- /vendor/github.com/equinox-io/equinox/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.4 4 | - 1.5 5 | script: go test -v github.com/equinox-io/equinox github.com/equinox-io/equinox/proto 6 | -------------------------------------------------------------------------------- /vendor/github.com/equinox-io/equinox/internal/go-update/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2015 Alan Shreve 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /vendor/github.com/equinox-io/equinox/internal/go-update/hide_noop.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package update 4 | 5 | func hideFile(path string) error { 6 | return nil 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/equinox-io/equinox/internal/go-update/hide_windows.go: -------------------------------------------------------------------------------- 1 | package update 2 | 3 | import ( 4 | "syscall" 5 | "unsafe" 6 | ) 7 | 8 | func hideFile(path string) error { 9 | kernel32 := syscall.NewLazyDLL("kernel32.dll") 10 | setFileAttributes := kernel32.NewProc("SetFileAttributesW") 11 | 12 | r1, _, err := setFileAttributes.Call(uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr(path))), 2) 13 | 14 | if r1 == 0 { 15 | return err 16 | } else { 17 | return nil 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/equinox-io/equinox/internal/go-update/internal/binarydist/Readme.md: -------------------------------------------------------------------------------- 1 | # binarydist 2 | 3 | Package binarydist implements binary diff and patch as described on 4 | . It reads and writes files 5 | compatible with the tools there. 6 | 7 | Documentation at . 8 | -------------------------------------------------------------------------------- /vendor/github.com/equinox-io/equinox/internal/go-update/internal/binarydist/testdata/sample.new: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/equinox-io/equinox/internal/go-update/internal/binarydist/testdata/sample.new -------------------------------------------------------------------------------- /vendor/github.com/equinox-io/equinox/internal/go-update/internal/binarydist/testdata/sample.old: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/equinox-io/equinox/internal/go-update/internal/binarydist/testdata/sample.old -------------------------------------------------------------------------------- /vendor/github.com/equinox-io/equinox/internal/go-update/internal/binarydist/testdata/sample.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/equinox-io/equinox/internal/go-update/internal/binarydist/testdata/sample.patch -------------------------------------------------------------------------------- /vendor/github.com/equinox-io/equinox/internal/go-update/internal/osext/README.md: -------------------------------------------------------------------------------- 1 | ### Extensions to the "os" package. 2 | 3 | ## Find the current Executable and ExecutableFolder. 4 | 5 | There is sometimes utility in finding the current executable file 6 | that is running. This can be used for upgrading the current executable 7 | or finding resources located relative to the executable file. Both 8 | working directory and the os.Args[0] value are arbitrary and cannot 9 | be relied on; os.Args[0] can be "faked". 10 | 11 | Multi-platform and supports: 12 | * Linux 13 | * OS X 14 | * Windows 15 | * Plan 9 16 | * BSDs. 17 | -------------------------------------------------------------------------------- /vendor/github.com/equinox-io/equinox/internal/go-update/internal/osext/osext_plan9.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 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 | package osext 6 | 7 | import ( 8 | "os" 9 | "strconv" 10 | "syscall" 11 | ) 12 | 13 | func executable() (string, error) { 14 | f, err := os.Open("/proc/" + strconv.Itoa(os.Getpid()) + "/text") 15 | if err != nil { 16 | return "", err 17 | } 18 | defer f.Close() 19 | return syscall.Fd2path(int(f.Fd())) 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/equinox-io/equinox/internal/osext/README.md: -------------------------------------------------------------------------------- 1 | ### Extensions to the "os" package. 2 | 3 | ## Find the current Executable and ExecutableFolder. 4 | 5 | There is sometimes utility in finding the current executable file 6 | that is running. This can be used for upgrading the current executable 7 | or finding resources located relative to the executable file. Both 8 | working directory and the os.Args[0] value are arbitrary and cannot 9 | be relied on; os.Args[0] can be "faked". 10 | 11 | Multi-platform and supports: 12 | * Linux 13 | * OS X 14 | * Windows 15 | * Plan 9 16 | * BSDs. 17 | -------------------------------------------------------------------------------- /vendor/github.com/equinox-io/equinox/internal/osext/osext_plan9.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 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 | package osext 6 | 7 | import ( 8 | "os" 9 | "strconv" 10 | "syscall" 11 | ) 12 | 13 | func executable() (string, error) { 14 | f, err := os.Open("/proc/" + strconv.Itoa(os.Getpid()) + "/text") 15 | if err != nil { 16 | return "", err 17 | } 18 | defer f.Close() 19 | return syscall.Fd2path(int(f.Fd())) 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/facebookgo/atomicfile/readme.md: -------------------------------------------------------------------------------- 1 | atomicfile [![Build Status](https://secure.travis-ci.org/facebookgo/atomicfile.png)](https://travis-ci.org/facebookgo/atomicfile) 2 | ========== 3 | 4 | Documentation: https://godoc.org/github.com/facebookgo/atomicfile 5 | 6 | NOTE: This package uses `os.Rename`, which may or may not be atomic on your 7 | operating system. It is known to not be atomic on Windows. 8 | https://github.com/natefinch/atomic provides a similar library that is atomic 9 | on Windows as well and may be worth investigating. 10 | -------------------------------------------------------------------------------- /vendor/github.com/franela/goreq/.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 | 24 | src 25 | -------------------------------------------------------------------------------- /vendor/github.com/franela/goreq/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.5.3 4 | - tip 5 | notifications: 6 | email: 7 | - ionathan@gmail.com 8 | - marcosnils@gmail.com 9 | -------------------------------------------------------------------------------- /vendor/github.com/franela/goreq/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | go get -v -d -t ./... 3 | go test -v 4 | -------------------------------------------------------------------------------- /vendor/github.com/glycerine/rbuf/.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 | *~ 25 | -------------------------------------------------------------------------------- /vendor/github.com/go-yaml/yaml/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4 5 | - 1.5 6 | - 1.6 7 | - tip 8 | 9 | go_import_path: gopkg.in/yaml.v2 10 | -------------------------------------------------------------------------------- /vendor/github.com/go-yaml/yaml/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2011-2016 Canonical Ltd. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /vendor/github.com/go-yaml/yaml/suite_test.go: -------------------------------------------------------------------------------- 1 | package yaml_test 2 | 3 | import ( 4 | . "gopkg.in/check.v1" 5 | "testing" 6 | ) 7 | 8 | func Test(t *testing.T) { TestingT(t) } 9 | 10 | type S struct{} 11 | 12 | var _ = Suite(&S{}) 13 | -------------------------------------------------------------------------------- /vendor/github.com/goji/httpauth/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | matrix: 5 | include: 6 | - go: 1.2 7 | - go: 1.3 8 | - go: 1.4 9 | - go: 1.5 10 | - go: 1.6 11 | - go: tip 12 | allow_failures: 13 | - go: tip 14 | 15 | install: 16 | - # skip 17 | 18 | script: 19 | - go get -t -v ./... 20 | - diff -u <(echo -n) <(gofmt -d .) 21 | - go vet $(go list ./... | grep -v /vendor/) 22 | - go test -v -race ./... 23 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/.gitignore: -------------------------------------------------------------------------------- 1 | /node-syscall/build 2 | /node_modules 3 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/doc.go: -------------------------------------------------------------------------------- 1 | // Package natives provides native packages via a virtual filesystem. 2 | // 3 | // See documentation of parseAndAugment in github.com/gopherjs/gopherjs/build 4 | // for explanation of behavior used to augment the native packages using the files 5 | // in src subfolder. 6 | package natives 7 | 8 | //go:generate vfsgendev -source="github.com/gopherjs/gopherjs/compiler/natives".FS -tag=gopherjsdev 9 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/bytes/bytes_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package bytes_test 4 | 5 | import ( 6 | "testing" 7 | ) 8 | 9 | func TestEqualNearPageBoundary(t *testing.T) { 10 | t.Skip() 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/crypto/x509/x509.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package x509 4 | 5 | import "os" 6 | 7 | func loadSystemRoots() (*CertPool, error) { 8 | // no system roots 9 | return NewCertPool(), nil 10 | } 11 | 12 | func execSecurityRoots() (*CertPool, error) { 13 | return nil, os.ErrNotExist 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/crypto/x509/x509_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package x509 4 | 5 | import "testing" 6 | 7 | func TestSystemRoots(t *testing.T) { 8 | t.Skip("no system roots") 9 | } 10 | 11 | func TestSystemVerify(t *testing.T) { 12 | t.Skip("no system") 13 | } 14 | 15 | func TestImports(t *testing.T) { 16 | t.Skip("no system") 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/debug/elf/elf_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package elf 4 | 5 | import "testing" 6 | 7 | func TestNoSectionOverlaps(t *testing.T) { 8 | t.Skip("not 6l") 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/encoding/json/stream_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package json 4 | 5 | import "testing" 6 | 7 | func TestHTTPDecoding(t *testing.T) { 8 | t.Skip("network access is not supported by GopherJS") 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/fmt/fmt_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package fmt_test 4 | 5 | const intCount = 100 6 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/go/token/token_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package token 4 | 5 | import ( 6 | "testing" 7 | ) 8 | 9 | func TestFileSetRace(t *testing.T) { 10 | t.Skip() 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/internal/testenv/testenv.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package testenv 4 | 5 | import ( 6 | "runtime" 7 | "strings" 8 | ) 9 | 10 | // HasExec reports whether the current system can start new processes 11 | // using os.StartProcess or (more commonly) exec.Command. 12 | func HasExec() bool { 13 | switch runtime.GOOS { 14 | case "nacl": 15 | return false 16 | case "darwin": 17 | if strings.HasPrefix(runtime.GOARCH, "arm") { 18 | return false 19 | } 20 | } 21 | switch runtime.GOARCH { 22 | case "js": 23 | return false 24 | } 25 | return true 26 | } 27 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/io/io_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package io_test 4 | 5 | import ( 6 | "testing" 7 | ) 8 | 9 | func TestMultiWriter_WriteStringSingleAlloc(t *testing.T) { 10 | t.Skip() 11 | } 12 | 13 | func TestMultiReaderFlatten(t *testing.T) { 14 | t.Skip() 15 | } 16 | 17 | func TestMultiReaderFreesExhaustedReaders(t *testing.T) { 18 | t.Skip("test relies on runtime.SetFinalizer, which GopherJS does not implement") 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/math/big/big_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package big 4 | 5 | import "testing" 6 | 7 | func TestBytes(t *testing.T) { 8 | t.Skip("broken") 9 | } 10 | 11 | func TestModSqrt(t *testing.T) { 12 | t.Skip("slow") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/math/math_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package math_test 4 | 5 | // Slighly higher tolerances than upstream, otherwise TestGamma fails. 6 | // TODO: Is there a better way to fix TestGamma? It's weird that only one test 7 | // requires increasing tolerances. Perhaps there's a better fix? Maybe we 8 | // should override TestGamma specifically and not the package-wide tolerances, 9 | // because this will cause many other tests to be less accurate. Or maybe this 10 | // is fine? 11 | func close(a, b float64) bool { return tolerance(a, b, 4e-14) } 12 | func veryclose(a, b float64) bool { return tolerance(a, b, 6e-15) } 13 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/math/rand/rand_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package rand 4 | 5 | import "testing" 6 | 7 | func TestFloat32(t *testing.T) { 8 | t.Skip("slow") 9 | } 10 | 11 | func TestConcurrent(t *testing.T) { 12 | t.Skip("using nosync") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/net/http/cookiejar/example_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package cookiejar_test 4 | 5 | import "fmt" 6 | 7 | func ExampleNew() { 8 | // network access not supported by GopherJS, and this test depends on httptest.NewServer 9 | 10 | fmt.Println(`After 1st request: 11 | Flavor: Chocolate Chip 12 | After 2nd request: 13 | Flavor: Oatmeal Raisin`) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/reflect/example_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package reflect_test 4 | 5 | import "fmt" 6 | 7 | func ExampleStructOf() { 8 | // GopherJS does not implement reflect.addReflectOff needed for this test. 9 | // See https://github.com/gopherjs/gopherjs/issues/499 10 | 11 | fmt.Println(`value: &{Height:0.4 Age:2} 12 | json: {"height":0.4,"age":2} 13 | value: &{Height:1.5 Age:10}`) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/regexp/regexp_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package regexp 4 | 5 | import ( 6 | "testing" 7 | ) 8 | 9 | func TestOnePassCutoff(t *testing.T) { 10 | t.Skip() // "Maximum call stack size exceeded" on V8 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/runtime/debug/debug.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package debug 4 | 5 | func setGCPercent(int32) int32 { 6 | // Not implemented. Return initial setting. 7 | return 100 8 | } 9 | 10 | func setMaxStack(bytes int) int { 11 | // Not implemented. Return initial setting. 12 | // The initial setting is 1 GB on 64-bit systems, 250 MB on 32-bit systems. 13 | return 250000000 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/sync/atomic/atomic_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package atomic_test 4 | 5 | import "testing" 6 | 7 | func TestHammerStoreLoad(t *testing.T) { 8 | t.Skip("use of unsafe") 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/sync/sync_test.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package sync_test 4 | 5 | import ( 6 | "testing" 7 | ) 8 | 9 | func TestPool(t *testing.T) { 10 | t.Skip() 11 | } 12 | 13 | func TestPoolGC(t *testing.T) { 14 | t.Skip() 15 | } 16 | 17 | func TestPoolRelease(t *testing.T) { 18 | t.Skip() 19 | } 20 | 21 | func TestCondCopy(t *testing.T) { 22 | t.Skip() 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/sync/waitgroup.go: -------------------------------------------------------------------------------- 1 | package sync 2 | 3 | type WaitGroup struct { 4 | counter int 5 | ch chan struct{} 6 | 7 | state1 [12]byte 8 | sema uint32 9 | } 10 | 11 | func (wg *WaitGroup) Add(delta int) { 12 | wg.counter += delta 13 | if wg.counter < 0 { 14 | panic("sync: negative WaitGroup counter") 15 | } 16 | if wg.counter > 0 && wg.ch == nil { 17 | wg.ch = make(chan struct{}) 18 | } 19 | if wg.counter == 0 && wg.ch != nil { 20 | close(wg.ch) 21 | wg.ch = nil 22 | } 23 | } 24 | 25 | func (wg *WaitGroup) Wait() { 26 | if wg.counter > 0 { 27 | <-wg.ch 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/natives/src/text/template/template.go: -------------------------------------------------------------------------------- 1 | package template 2 | 3 | const maxExecDepth = 3000 4 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/typesutil/typesutil.go: -------------------------------------------------------------------------------- 1 | package typesutil 2 | 3 | import ( 4 | "go/types" 5 | "strings" 6 | ) 7 | 8 | func IsJsPackage(pkg *types.Package) bool { 9 | return pkg != nil && (pkg.Path() == "github.com/gopherjs/gopherjs/js" || strings.HasSuffix(pkg.Path(), "/vendor/github.com/gopherjs/gopherjs/js")) 10 | } 11 | 12 | func IsJsObject(t types.Type) bool { 13 | ptr, isPtr := t.(*types.Pointer) 14 | if !isPtr { 15 | return false 16 | } 17 | named, isNamed := ptr.Elem().(*types.Named) 18 | return isNamed && IsJsPackage(named.Obj().Pkg()) && named.Obj().Name() == "Object" 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/vendor/vendor.json: -------------------------------------------------------------------------------- 1 | { 2 | "comment": "", 3 | "ignore": "test", 4 | "package": [ 5 | { 6 | "checksumSHA1": "CaUaJLLnql96d2JGRgCpYsKomxw=", 7 | "path": "github.com/neelance/astrewrite", 8 | "revision": "99348263ae862cc230986ce88deaddbf7edcc034", 9 | "revisionTime": "2016-05-11T09:36:45Z" 10 | } 11 | ], 12 | "rootPath": "github.com/gopherjs/gopherjs/compiler" 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/compiler/version_check.go: -------------------------------------------------------------------------------- 1 | // +build !go1.9 2 | // +build go1.8 3 | 4 | package compiler 5 | 6 | const ___GOPHERJS_REQUIRES_GO_VERSION_1_8___ = true 7 | 8 | // Version is the GopherJS compiler version string. 9 | const Version = "1.8-2" 10 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/node-syscall/binding.gyp: -------------------------------------------------------------------------------- 1 | { 2 | 'targets': [ 3 | { 4 | 'target_name': 'syscall', 5 | 'sources': [ 'syscall.cc' ] 6 | } 7 | ] 8 | } -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/tests/doc.go: -------------------------------------------------------------------------------- 1 | // Package tests contains tests for GopherJS. 2 | package tests 3 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/tests/gorepo_test.go: -------------------------------------------------------------------------------- 1 | // +build !js 2 | 3 | package tests_test 4 | 5 | import ( 6 | "os" 7 | "os/exec" 8 | "testing" 9 | ) 10 | 11 | // Go repository basic compiler tests, and regression tests for fixed compiler bugs. 12 | func TestGoRepositoryCompilerTests(t *testing.T) { 13 | args := []string{"go", "run", "run.go", "-summary"} 14 | if testing.Verbose() { 15 | args = append(args, "-v") 16 | } 17 | cmd := exec.Command(args[0], args[1:]...) 18 | cmd.Stdout = os.Stdout 19 | cmd.Stderr = os.Stdout 20 | err := cmd.Run() 21 | if err != nil { 22 | t.Fatal(err) 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/tests/main/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | var mainDidRun = false 4 | 5 | func main() { 6 | mainDidRun = true 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/tests/main/main_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "testing" 4 | 5 | func TestNotRunMain(t *testing.T) { 6 | if mainDidRun { 7 | t.Error("main function did run") 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/tests/otherpkg/otherpkg.go: -------------------------------------------------------------------------------- 1 | package otherpkg 2 | 3 | var Test float32 4 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/tests/testdata/time_inexternalization.out: -------------------------------------------------------------------------------- 1 | { S: 'externalization ok' } 2 | Sat, 29 Aug 2015 20:56:00 GMT 3 | -------------------------------------------------------------------------------- /vendor/github.com/gopherjs/gopherjs/tests/vendor/vendored/vendored.go: -------------------------------------------------------------------------------- 1 | package vendored 2 | 3 | var Answer = 42 4 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/context/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | matrix: 5 | include: 6 | - go: 1.3 7 | - go: 1.4 8 | - go: 1.5 9 | - go: 1.6 10 | - go: 1.7 11 | - go: tip 12 | allow_failures: 13 | - go: tip 14 | 15 | script: 16 | - go get -t -v ./... 17 | - diff -u <(echo -n) <(gofmt -d .) 18 | - go vet $(go list ./... | grep -v /vendor/) 19 | - go test -v -race ./... 20 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/mux/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | matrix: 5 | include: 6 | - go: 1.2 7 | - go: 1.3 8 | - go: 1.4 9 | - go: 1.5 10 | - go: 1.6 11 | - go: 1.7 12 | - go: 1.8 13 | - go: tip 14 | 15 | install: 16 | - # Skip 17 | 18 | script: 19 | - go get -t -v ./... 20 | - diff -u <(echo -n) <(gofmt -d .) 21 | - go tool vet . 22 | - go test -v -race ./... 23 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/mux/context_gorilla.go: -------------------------------------------------------------------------------- 1 | // +build !go1.7 2 | 3 | package mux 4 | 5 | import ( 6 | "net/http" 7 | 8 | "github.com/gorilla/context" 9 | ) 10 | 11 | func contextGet(r *http.Request, key interface{}) interface{} { 12 | return context.Get(r, key) 13 | } 14 | 15 | func contextSet(r *http.Request, key, val interface{}) *http.Request { 16 | if val == nil { 17 | return r 18 | } 19 | 20 | context.Set(r, key, val) 21 | return r 22 | } 23 | 24 | func contextClear(r *http.Request) { 25 | context.Clear(r) 26 | } 27 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/mux/context_native.go: -------------------------------------------------------------------------------- 1 | // +build go1.7 2 | 3 | package mux 4 | 5 | import ( 6 | "context" 7 | "net/http" 8 | ) 9 | 10 | func contextGet(r *http.Request, key interface{}) interface{} { 11 | return r.Context().Value(key) 12 | } 13 | 14 | func contextSet(r *http.Request, key, val interface{}) *http.Request { 15 | if val == nil { 16 | return r 17 | } 18 | 19 | return r.WithContext(context.WithValue(r.Context(), key, val)) 20 | } 21 | 22 | func contextClear(r *http.Request) { 23 | return 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/.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 | 24 | .idea/ 25 | *.iml -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | matrix: 5 | include: 6 | - go: 1.4 7 | - go: 1.5 8 | - go: 1.6 9 | - go: 1.7 10 | - go: 1.8 11 | - go: tip 12 | allow_failures: 13 | - go: tip 14 | 15 | script: 16 | - go get -t -v ./... 17 | - diff -u <(echo -n) <(gofmt -d .) 18 | - go vet $(go list ./... | grep -v /vendor/) 19 | - go test -v -race ./... 20 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of Gorilla WebSocket authors for copyright 2 | # purposes. 3 | # 4 | # Please keep the list sorted. 5 | 6 | Gary Burd 7 | Joachim Bauch 8 | 9 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/client_clone.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Gorilla WebSocket 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.8 6 | 7 | package websocket 8 | 9 | import "crypto/tls" 10 | 11 | func cloneTLSConfig(cfg *tls.Config) *tls.Config { 12 | if cfg == nil { 13 | return &tls.Config{} 14 | } 15 | return cfg.Clone() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/conn_read.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Gorilla WebSocket 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.5 6 | 7 | package websocket 8 | 9 | import "io" 10 | 11 | func (c *Conn) read(n int) ([]byte, error) { 12 | p, err := c.br.Peek(n) 13 | if err == io.EOF { 14 | err = errUnexpectedEOF 15 | } 16 | c.br.Discard(len(p)) 17 | return p, err 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/conn_read_legacy.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Gorilla WebSocket 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.5 6 | 7 | package websocket 8 | 9 | import "io" 10 | 11 | func (c *Conn) read(n int) ([]byte, error) { 12 | p, err := c.br.Peek(n) 13 | if err == io.EOF { 14 | err = errUnexpectedEOF 15 | } 16 | if len(p) > 0 { 17 | // advance over the bytes just read 18 | io.ReadFull(c.br, p) 19 | } 20 | return p, err 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/examples/autobahn/README.md: -------------------------------------------------------------------------------- 1 | # Test Server 2 | 3 | This package contains a server for the [Autobahn WebSockets Test Suite](http://autobahn.ws/testsuite). 4 | 5 | To test the server, run 6 | 7 | go run server.go 8 | 9 | and start the client test driver 10 | 11 | wstest -m fuzzingclient -s fuzzingclient.json 12 | 13 | When the client completes, it writes a report to reports/clients/index.html. 14 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/examples/echo/README.md: -------------------------------------------------------------------------------- 1 | # Client and server example 2 | 3 | This example shows a simple client and server. 4 | 5 | The server echoes messages sent to it. The client sends a message every second 6 | and prints all messages received. 7 | 8 | To run the example, start the server: 9 | 10 | $ go run server.go 11 | 12 | Next, start the client: 13 | 14 | $ go run client.go 15 | 16 | The server includes a simple web client. To use the client, open 17 | http://127.0.0.1:8080 in the browser and follow the instructions on the page. 18 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/examples/filewatch/README.md: -------------------------------------------------------------------------------- 1 | # File Watch example. 2 | 3 | This example sends a file to the browser client for display whenever the file is modified. 4 | 5 | $ go get github.com/gorilla/websocket 6 | $ cd `go list -f '{{.Dir}}' github.com/gorilla/websocket/examples/filewatch` 7 | $ go run main.go 8 | # Open http://localhost:8080/ . 9 | # Modify the file to see it update in the browser. 10 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/mask_safe.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Gorilla WebSocket Authors. All rights reserved. Use of 2 | // this source code is governed by a BSD-style license that can be found in the 3 | // LICENSE file. 4 | 5 | // +build appengine 6 | 7 | package websocket 8 | 9 | func maskBytes(key [4]byte, pos int, b []byte) int { 10 | for i := range b { 11 | b[i] ^= key[pos&3] 12 | pos++ 13 | } 14 | return pos & 3 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/jtolds/gls/gen_sym.go: -------------------------------------------------------------------------------- 1 | package gls 2 | 3 | import ( 4 | "sync" 5 | ) 6 | 7 | var ( 8 | keyMtx sync.Mutex 9 | keyCounter uint64 10 | ) 11 | 12 | // ContextKey is a throwaway value you can use as a key to a ContextManager 13 | type ContextKey struct{ id uint64 } 14 | 15 | // GenSym will return a brand new, never-before-used ContextKey 16 | func GenSym() ContextKey { 17 | keyMtx.Lock() 18 | defer keyMtx.Unlock() 19 | keyCounter += 1 20 | return ContextKey{id: keyCounter} 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/kennygrant/sanitize/.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 | -------------------------------------------------------------------------------- /vendor/github.com/kennygrant/sanitize/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-ps/.gitignore: -------------------------------------------------------------------------------- 1 | .vagrant/ 2 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-ps/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.2.1 5 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-ps/process_darwin_test.go: -------------------------------------------------------------------------------- 1 | // +build darwin 2 | 3 | package ps 4 | 5 | import ( 6 | "testing" 7 | ) 8 | 9 | func TestDarwinProcess_impl(t *testing.T) { 10 | var _ Process = new(DarwinProcess) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-ps/process_unix_test.go: -------------------------------------------------------------------------------- 1 | // +build linux solaris 2 | 3 | package ps 4 | 5 | import ( 6 | "testing" 7 | ) 8 | 9 | func TestUnixProcess_impl(t *testing.T) { 10 | var _ Process = new(UnixProcess) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/qiniu/log/.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 | -------------------------------------------------------------------------------- /vendor/github.com/qiniu/log/README.md: -------------------------------------------------------------------------------- 1 | log 2 | === 3 | 4 | Extension module of golang logging -------------------------------------------------------------------------------- /vendor/github.com/qiniu/log/logext_test.go: -------------------------------------------------------------------------------- 1 | package log 2 | 3 | import ( 4 | "testing" 5 | ) 6 | 7 | func TestLog(t *testing.T) { 8 | 9 | SetOutputLevel(Ldebug) 10 | 11 | Debugf("Debug: foo\n") 12 | Debug("Debug: foo") 13 | 14 | Infof("Info: foo\n") 15 | Info("Info: foo") 16 | 17 | Warnf("Warn: foo\n") 18 | Warn("Warn: foo") 19 | 20 | Errorf("Error: foo\n") 21 | Error("Error: foo") 22 | 23 | SetOutputLevel(Linfo) 24 | 25 | Debugf("Debug: foo\n") 26 | Debug("Debug: foo") 27 | 28 | Infof("Info: foo\n") 29 | Info("Info: foo") 30 | 31 | Warnf("Warn: foo\n") 32 | Warn("Warn: foo") 33 | 34 | Errorf("Error: foo\n") 35 | Error("Error: foo") 36 | } 37 | -------------------------------------------------------------------------------- /vendor/github.com/shurcooL/httpfs/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | go: 4 | - 1.x 5 | - master 6 | matrix: 7 | allow_failures: 8 | - go: master 9 | fast_finish: true 10 | install: 11 | - # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step). 12 | script: 13 | - go get -t -v ./... 14 | - diff -u <(echo -n) <(gofmt -d -s .) 15 | - go tool vet . 16 | - go test -v -race ./... 17 | -------------------------------------------------------------------------------- /vendor/github.com/shurcooL/httpfs/vfsutil/file.go: -------------------------------------------------------------------------------- 1 | package vfsutil 2 | 3 | import ( 4 | "net/http" 5 | "os" 6 | ) 7 | 8 | // File implements http.FileSystem using the native file system restricted to a 9 | // specific file served at root. 10 | // 11 | // While the FileSystem.Open method takes '/'-separated paths, a File's string 12 | // value is a filename on the native file system, not a URL, so it is separated 13 | // by filepath.Separator, which isn't necessarily '/'. 14 | type File string 15 | 16 | func (f File) Open(name string) (http.File, error) { 17 | if name != "/" { 18 | return nil, &os.PathError{Op: "open", Path: name, Err: os.ErrNotExist} 19 | } 20 | return os.Open(string(f)) 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/shurcooL/vfsgen/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | go: 4 | - 1.x 5 | - master 6 | matrix: 7 | allow_failures: 8 | - go: master 9 | fast_finish: true 10 | install: 11 | - # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step). 12 | script: 13 | - go get -t -v ./... 14 | - diff -u <(echo -n) <(gofmt -d -s .) 15 | - go tool vet . 16 | - go test -v -race ./... 17 | -------------------------------------------------------------------------------- /vendor/github.com/shurcooL/vfsgen/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package vfsgen takes an http.FileSystem (likely at `go generate` time) and 3 | generates Go code that statically implements the provided http.FileSystem. 4 | 5 | Features: 6 | 7 | - Efficient generated code without unneccessary overhead. 8 | 9 | - Uses gzip compression internally (selectively, only for files that compress well). 10 | 11 | - Enables direct access to internal gzip compressed bytes via an optional interface. 12 | 13 | - Outputs `gofmt`ed Go code. 14 | */ 15 | package vfsgen 16 | -------------------------------------------------------------------------------- /vendor/github.com/shurcooL/vfsgen/test/doc.go: -------------------------------------------------------------------------------- 1 | // Package test contains tests for virtual filesystem implementation generated by vfsgen. 2 | package test 3 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/assertions/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | Thumbs.db 3 | *.iml 4 | /.idea 5 | coverage.out 6 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/assertions/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.x 5 | - master 6 | 7 | install: 8 | - go get -t ./... 9 | 10 | script: go test -v 11 | 12 | sudo: false 13 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/assertions/internal/oglematchers/.gitignore: -------------------------------------------------------------------------------- 1 | *.6 2 | 6.out 3 | _obj/ 4 | _test/ 5 | _testmain.go 6 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/assertions/internal/oglematchers/.travis.yml: -------------------------------------------------------------------------------- 1 | # Cf. http://docs.travis-ci.com/user/getting-started/ 2 | # Cf. http://docs.travis-ci.com/user/languages/go/ 3 | 4 | language: go 5 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/.gitattributes: -------------------------------------------------------------------------------- 1 | web/client/resources/js/lib/* linguist-vendored 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | Thumbs.db 3 | examples/output.json 4 | web/client/reports/ 5 | /.idea -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.2.x 5 | - 1.3.x 6 | - 1.4.x 7 | - 1.5.x 8 | - 1.6.x 9 | - 1.7.x 10 | - 1.8.x 11 | - tip 12 | 13 | install: 14 | - go get -t ./... 15 | 16 | script: go test -short -v ./... 17 | 18 | sudo: false 19 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/convey/convey.goconvey: -------------------------------------------------------------------------------- 1 | #ignore 2 | -timeout=1s 3 | #-covermode=count 4 | #-coverpkg=github.com/smartystreets/goconvey/convey,github.com/smartystreets/goconvey/convey/gotest,github.com/smartystreets/goconvey/convey/reporting -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/convey/gotest/doc_test.go: -------------------------------------------------------------------------------- 1 | package gotest 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/convey/reporting/console.go: -------------------------------------------------------------------------------- 1 | package reporting 2 | 3 | import ( 4 | "fmt" 5 | "io" 6 | ) 7 | 8 | type console struct{} 9 | 10 | func (self *console) Write(p []byte) (n int, err error) { 11 | return fmt.Print(string(p)) 12 | } 13 | 14 | func NewConsole() io.Writer { 15 | return new(console) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/convey/reporting/doc.go: -------------------------------------------------------------------------------- 1 | // Package reporting contains internal functionality related 2 | // to console reporting and output. Although this package has 3 | // exported names is not intended for public consumption. See the 4 | // examples package for how to use this project. 5 | package reporting 6 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/convey/reporting/reporting.goconvey: -------------------------------------------------------------------------------- 1 | #ignore 2 | -timeout=1s 3 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/dependencies.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import _ "github.com/jtolds/gls" 4 | import _ "github.com/smartystreets/assertions" 5 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/examples/doc.go: -------------------------------------------------------------------------------- 1 | // Package examples contains, well, examples of how to use goconvey to 2 | // specify behavior of a system under test. It contains a well-known example 3 | // by Robert C. Martin called "Bowling Game Kata" as well as another very 4 | // trivial example that demonstrates Reset() and some of the assertions. 5 | package examples 6 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/examples/examples.goconvey: -------------------------------------------------------------------------------- 1 | // Uncomment the next line to disable the package when running the GoConvey UI: 2 | //IGNORE 3 | 4 | // Uncomment the next line to limit testing to the specified test function name pattern: 5 | //-run=TestAssertionsAreAvailableFromConveyPackage 6 | 7 | // Uncomment the next line to limit testing to those tests that don't bail when testing.Short() is true: 8 | //-short 9 | 10 | // include any additional `go test` flags or application-specific flags below: 11 | 12 | -timeout=1s 13 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/favicon.ico -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/FontAwesome/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-Bold.ttf -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-Italic.ttf -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-Light.ttf -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-LightItalic.ttf -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Open_Sans/OpenSans-Regular.ttf -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Orbitron/Orbitron-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Orbitron/Orbitron-Regular.ttf -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Oswald/Oswald-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/resources/fonts/Oswald/Oswald-Regular.ttf -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/ico/goconvey-buildfail.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/resources/ico/goconvey-buildfail.ico -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/ico/goconvey-fail.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/resources/ico/goconvey-fail.ico -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/ico/goconvey-ok.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/resources/ico/goconvey-ok.ico -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/ico/goconvey-panic.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/github.com/smartystreets/goconvey/web/client/resources/ico/goconvey-panic.ico -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/js/config.js: -------------------------------------------------------------------------------- 1 | // Configure the GoConvey web UI client in here 2 | 3 | convey.config = { 4 | 5 | // Install new themes by adding them here; the first one will be default 6 | themes: { 7 | "dark": { name: "Dark", filename: "dark.css", coverage: "hsla({{hue}}, 75%, 30%, .5)" }, 8 | "dark-bigtext": { name: "Dark-BigText", filename: "dark-bigtext.css", coverage: "hsla({{hue}}, 75%, 30%, .5)" }, 9 | "light": { name: "Light", filename: "light.css", coverage: "hsla({{hue}}, 62%, 75%, 1)" } 10 | }, 11 | 12 | // Path to the themes (end with forward-slash) 13 | themePath: "/resources/css/themes/" 14 | 15 | }; 16 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/js/lib/jquery-ui.js.url: -------------------------------------------------------------------------------- 1 | https://code.jquery.com/ui/1.10.4/jquery-ui.js 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/js/lib/jquery.js.url: -------------------------------------------------------------------------------- 1 | https://code.jquery.com/jquery-2.1.0.js 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/js/lib/jquery.pretty-text-diff.js.url: -------------------------------------------------------------------------------- 1 | https://raw.githubusercontent.com/arnab/jQuery.PrettyTextDiff/1.0.2/jquery.pretty-text-diff.js 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/js/lib/jquery.tipsy.js.url: -------------------------------------------------------------------------------- 1 | https://raw.githubusercontent.com/jaz303/tipsy/v1.0.0a/src/javascripts/jquery.tipsy.js 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/js/lib/markup.js.url: -------------------------------------------------------------------------------- 1 | https://raw.githubusercontent.com/adammark/Markup.js/master/src/markup.js 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/js/lib/moment.js.url: -------------------------------------------------------------------------------- 1 | https://raw.githubusercontent.com/moment/moment/2.10.2/moment.js 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/client/resources/js/lib/taboverride.js.url: -------------------------------------------------------------------------------- 1 | https://raw.githubusercontent.com/wjbryant/taboverride/4.0.3/build/output/taboverride.js 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/api/api.goconvey: -------------------------------------------------------------------------------- 1 | #ignore 2 | -timeout=1s 3 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/contract/doc_test.go: -------------------------------------------------------------------------------- 1 | package contract 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/executor/contract.go: -------------------------------------------------------------------------------- 1 | package executor 2 | 3 | import "github.com/smartystreets/goconvey/web/server/contract" 4 | 5 | type Parser interface { 6 | Parse([]*contract.Package) 7 | } 8 | 9 | type Tester interface { 10 | SetBatchSize(batchSize int) 11 | TestAll(folders []*contract.Package) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/executor/executor.goconvey: -------------------------------------------------------------------------------- 1 | #ignore 2 | -timeout=1s 3 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/messaging/doc_test.go: -------------------------------------------------------------------------------- 1 | package messaging 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/parser/parser.goconvey: -------------------------------------------------------------------------------- 1 | #ignore 2 | -timeout=1s 3 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/system/system.goconvey: -------------------------------------------------------------------------------- 1 | #ignore 2 | -timeout=1s 3 | -short -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/watch/integration_testing/doc_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/watch/integration_testing/main.go: -------------------------------------------------------------------------------- 1 | // This file's only purpose is to provide a realistic 2 | // environment from which to run integration tests 3 | // against the Watcher. 4 | package main 5 | 6 | import "fmt" 7 | 8 | func main() { 9 | fmt.Println("Hello, World!") 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/watch/integration_testing/sub/.gitignore: -------------------------------------------------------------------------------- 1 | github.com-smartystreets-goconvey-web-server-integration_testing-sub.html 2 | github.com-smartystreets-goconvey-web-server-integration_testing-sub.txt -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/watch/integration_testing/sub/stuff.go: -------------------------------------------------------------------------------- 1 | // This file's only purpose is to provide a realistic 2 | // environment from which to run integration tests 3 | // against the Watcher. 4 | package sub 5 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/watch/integration_testing/sub/stuff_test.go: -------------------------------------------------------------------------------- 1 | // This file's only purpose is to provide a realistic 2 | // environment from which to run integration tests 3 | // against the Watcher. 4 | package sub 5 | 6 | import ( 7 | "fmt" 8 | "testing" 9 | ) 10 | 11 | func TestStuff(t *testing.T) { 12 | if testing.Short() { 13 | return 14 | } 15 | 16 | fmt.Println() 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/watch/integration_testing/sub/sub.goconvey: -------------------------------------------------------------------------------- 1 | IGNORE 2 | -short 3 | -run=TestStuff 4 | 5 | // This file's only purpose is to provide a realistic 6 | // environment from which to run integration tests 7 | // against the Watcher. 8 | -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/goconvey/web/server/watch/watch.goconvey: -------------------------------------------------------------------------------- 1 | #ignore 2 | -timeout=1s 3 | -short -------------------------------------------------------------------------------- /vendor/github.com/smartystreets/logging/.gitignore: -------------------------------------------------------------------------------- 1 | /.idea 2 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 120 3 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/.gitignore: -------------------------------------------------------------------------------- 1 | *.coverprofile 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | dist: trusty 4 | osx_image: xcode8.3 5 | go: 1.8.x 6 | 7 | os: 8 | - linux 9 | - osx 10 | 11 | cache: 12 | directories: 13 | - node_modules 14 | 15 | before_script: 16 | - go get github.com/urfave/gfmrun/... || true 17 | - go get golang.org/x/tools/cmd/goimports 18 | - if [ ! -f node_modules/.bin/markdown-toc ] ; then 19 | npm install markdown-toc ; 20 | fi 21 | 22 | script: 23 | - ./runtests gen 24 | - ./runtests vet 25 | - ./runtests test 26 | - ./runtests gfmrun 27 | - ./runtests toc 28 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/altsrc/altsrc.go: -------------------------------------------------------------------------------- 1 | package altsrc 2 | 3 | //go:generate python ../generate-flag-types altsrc -i ../flag-types.json -o flag_generated.go 4 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/altsrc/helpers_test.go: -------------------------------------------------------------------------------- 1 | package altsrc 2 | 3 | import ( 4 | "reflect" 5 | "testing" 6 | ) 7 | 8 | func expect(t *testing.T, a interface{}, b interface{}) { 9 | if !reflect.DeepEqual(b, a) { 10 | t.Errorf("Expected %#v (type %v) - Got %#v (type %v)", b, reflect.TypeOf(b), a, reflect.TypeOf(a)) 11 | } 12 | } 13 | 14 | func refute(t *testing.T, a interface{}, b interface{}) { 15 | if a == b { 16 | t.Errorf("Did not expect %v (type %v) - Got %v (type %v)", b, reflect.TypeOf(b), a, reflect.TypeOf(a)) 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/altsrc/input_source_context.go: -------------------------------------------------------------------------------- 1 | package altsrc 2 | 3 | import ( 4 | "time" 5 | 6 | "gopkg.in/urfave/cli.v1" 7 | ) 8 | 9 | // InputSourceContext is an interface used to allow 10 | // other input sources to be implemented as needed. 11 | type InputSourceContext interface { 12 | Int(name string) (int, error) 13 | Duration(name string) (time.Duration, error) 14 | Float64(name string) (float64, error) 15 | String(name string) (string, error) 16 | StringSlice(name string) ([]string, error) 17 | IntSlice(name string) ([]int, error) 18 | Generic(name string) (cli.Generic, error) 19 | Bool(name string) (bool, error) 20 | BoolT(name string) (bool, error) 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "{build}" 2 | 3 | os: Windows Server 2016 4 | 5 | image: Visual Studio 2017 6 | 7 | clone_folder: c:\gopath\src\github.com\urfave\cli 8 | 9 | environment: 10 | GOPATH: C:\gopath 11 | GOVERSION: 1.8.x 12 | PYTHON: C:\Python36-x64 13 | PYTHON_VERSION: 3.6.x 14 | PYTHON_ARCH: 64 15 | 16 | install: 17 | - set PATH=%GOPATH%\bin;C:\go\bin;%PATH% 18 | - go version 19 | - go env 20 | - go get github.com/urfave/gfmrun/... 21 | - go get -v -t ./... 22 | 23 | build_script: 24 | - python runtests vet 25 | - python runtests test 26 | - python runtests gfmrun 27 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/autocomplete/bash_autocomplete: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | : ${PROG:=$(basename ${BASH_SOURCE})} 4 | 5 | _cli_bash_autocomplete() { 6 | local cur opts base 7 | COMPREPLY=() 8 | cur="${COMP_WORDS[COMP_CWORD]}" 9 | opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion ) 10 | COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) 11 | return 0 12 | } 13 | 14 | complete -F _cli_bash_autocomplete $PROG 15 | 16 | unset PROG 17 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/autocomplete/zsh_autocomplete: -------------------------------------------------------------------------------- 1 | autoload -U compinit && compinit 2 | autoload -U bashcompinit && bashcompinit 3 | 4 | script_dir=$(dirname $0) 5 | source ${script_dir}/bash_autocomplete 6 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/helpers_unix_test.go: -------------------------------------------------------------------------------- 1 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris 2 | 3 | package cli 4 | 5 | import "os" 6 | 7 | func clearenv() { 8 | os.Clearenv() 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/urfave/cli/helpers_windows_test.go: -------------------------------------------------------------------------------- 1 | package cli 2 | 3 | import ( 4 | "os" 5 | "syscall" 6 | ) 7 | 8 | // os.Clearenv() doesn't actually unset variables on Windows 9 | // See: https://github.com/golang/go/issues/17902 10 | func clearenv() { 11 | for _, s := range os.Environ() { 12 | for j := 1; j < len(s); j++ { 13 | if s[j] == '=' { 14 | keyp, _ := syscall.UTF16PtrFromString(s[0:j]) 15 | syscall.SetEnvironmentVariable(keyp, nil) 16 | break 17 | } 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/.gitattributes: -------------------------------------------------------------------------------- 1 | # Treat all files in this repo as binary, with no git magic updating 2 | # line endings. Windows users contributing to Go will need to use a 3 | # modern version of git and editors capable of LF line endings. 4 | # 5 | # We'll prevent accidental CRLF line endings from entering the repo 6 | # via the git-review gofmt checks. 7 | # 8 | # See golang.org/issue/9281 9 | 10 | * -text 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/.gitignore: -------------------------------------------------------------------------------- 1 | # Add no patterns to .hgignore except for files generated by the build. 2 | last-change 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/README: -------------------------------------------------------------------------------- 1 | This repository holds supplementary Go networking libraries. 2 | 3 | To submit changes to this repository, see http://golang.org/doc/contribute.html. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/bpf/setter.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 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 | package bpf 6 | 7 | // A Setter is a type which can attach a compiled BPF filter to itself. 8 | type Setter interface { 9 | SetBPF(filter []RawInstruction) error 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/bpf/testdata/all_instructions.bpf: -------------------------------------------------------------------------------- 1 | 50,0 0 0 42,1 0 0 42,96 0 0 3,97 0 0 3,48 0 0 42,40 0 0 42,32 0 0 42,80 0 0 42,72 0 0 42,64 0 0 42,177 0 0 42,128 0 0 0,32 0 0 4294963200,32 0 0 4294963204,32 0 0 4294963256,2 0 0 3,3 0 0 3,4 0 0 42,20 0 0 42,36 0 0 42,52 0 0 42,68 0 0 42,84 0 0 42,100 0 0 42,116 0 0 42,148 0 0 42,164 0 0 42,12 0 0 0,28 0 0 0,44 0 0 0,60 0 0 0,76 0 0 0,92 0 0 0,108 0 0 0,124 0 0 0,156 0 0 0,172 0 0 0,132 0 0 0,5 0 0 10,21 8 9 42,21 0 8 42,53 0 7 42,37 0 6 42,37 4 5 42,53 3 4 42,69 2 3 42,7 0 0 0,135 0 0 0,22 0 0 0,6 0 0 0, 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/README: -------------------------------------------------------------------------------- 1 | These test cases come from 2 | http://www.w3.org/International/tests/repository/html5/the-input-byte-stream/results-basics 3 | 4 | Distributed under both the W3C Test Suite License 5 | (http://www.w3.org/Consortium/Legal/2008/04-testsuite-license) 6 | and the W3C 3-clause BSD License 7 | (http://www.w3.org/Consortium/Legal/2008/03-bsd-license). 8 | To contribute to a W3C Test Suite, see the policies and contribution 9 | forms (http://www.w3.org/2004/10/27-testcases). 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/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/ohlinux/gosuv/1d770f0bb0dca4886de2569e81fd1196f71a7775/vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html -------------------------------------------------------------------------------- /vendor/golang.org/x/net/html/testdata/webkit/adoption02.dat: -------------------------------------------------------------------------------- 1 | #data 2 | 12

34 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | | 9 | | "1" 10 | | 11 | | "2" 12 | | 13 | |

14 | | 15 | | "3" 16 | | "4" 17 | 18 | #data 19 |

20 | #errors 21 | #document 22 | | 23 | | 24 | | 25 | | 26 | |
27 | | 28 | |