├── .gitattributes
├── .github
└── FUNDING.yml
├── .gitignore
├── .travis.yml
├── BENCHMARKS.md
├── Dockerfile
├── FAQ.md
├── Gopkg.lock
├── Gopkg.toml
├── LICENSE
├── Makefile
├── NOTICE
├── README.md
├── RF.py
├── api.go
├── api_test.go
├── backup.go
├── backup_test.go
├── cache.go
├── cache_test.go
├── data
├── .datagoeshere
└── testdb.db.backup
├── db.go
├── fingerprint.go
├── fingerprint_ffjson.go
├── fingerprint_test.go
├── macs.json
├── mqtt.go
├── mqtt_test.go
├── network.go
├── network_test.go
├── parameters.go
├── parameters_ffjson.go
├── parameters_test.go
├── posterior.go
├── posterior_test.go
├── priors.go
├── priorsThreaded.go
├── priors_test.go
├── rf.go
├── rf.py
├── routes.go
├── server.go
├── static
├── css
│ ├── 2-col-portfolio.css
│ ├── 3-col-portfolio.css
│ ├── bokeh-0.9.2.min.css
│ ├── bootstrap-theme.css
│ ├── bootstrap-theme.min.css
│ ├── bootstrap.css
│ ├── bootstrap.min.css
│ ├── continuum.css
│ ├── jquery-ui.css
│ ├── leaflet.css
│ ├── main-landing.css
│ ├── mapClient.css
│ ├── normalize-landing.css
│ ├── sweetalert.css
│ └── toastr.min.css
├── demo.html
├── font-awesome-4.3.0
│ ├── 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
│ ├── less
│ │ ├── animated.less
│ │ ├── bordered-pulled.less
│ │ ├── core.less
│ │ ├── fixed-width.less
│ │ ├── font-awesome.less
│ │ ├── icons.less
│ │ ├── larger.less
│ │ ├── list.less
│ │ ├── mixins.less
│ │ ├── path.less
│ │ ├── rotated-flipped.less
│ │ ├── stacked.less
│ │ └── variables.less
│ └── scss
│ │ ├── _animated.scss
│ │ ├── _bordered-pulled.scss
│ │ ├── _core.scss
│ │ ├── _fixed-width.scss
│ │ ├── _icons.scss
│ │ ├── _larger.scss
│ │ ├── _list.scss
│ │ ├── _mixins.scss
│ │ ├── _path.scss
│ │ ├── _rotated-flipped.scss
│ │ ├── _stacked.scss
│ │ ├── _variables.scss
│ │ └── font-awesome.scss
├── img
│ ├── FIND_icon.png
│ ├── FIND_icon_larger.png
│ ├── compass.png
│ └── favicon.ico
├── js
│ ├── bokeh-0.9.2.min.js
│ ├── bootbox.min.js
│ ├── bootstrap.js
│ ├── bootstrap.min.js
│ ├── canvasjs.min.js
│ ├── d3.js
│ ├── d3.min.js
│ ├── d3.tip.v0.6.3.js
│ ├── d3.v3.js
│ ├── images
│ │ ├── marker-icon.png
│ │ └── marker-shadow.png
│ ├── jquery-1.11.0.js
│ ├── jquery-2.0.0.min.js
│ ├── jquery-base.js
│ ├── jquery-ui.js
│ ├── jquery.canvasjs.min.js
│ ├── leaflet.js
│ ├── mapClient-addfeatures.js
│ ├── mapClient-advanced.js
│ ├── mapClient-standard.js
│ ├── numeric.min.js
│ ├── plotly-latest.min.js
│ ├── spin.js
│ ├── sweetalert.min.js
│ ├── toastr.min.js
│ └── wheelzoom.js
├── logo.txt
└── splash.gif
├── supervisord.conf
├── svm.go
├── svm_test.go
├── templates
├── dashboard.tmpl
├── login.tmpl
├── pie.tmpl
├── plot.tmpl
└── plot2.tmpl
├── test_rf.py
├── testing
├── calculate.sh
├── learn.sh
├── smalldb.txt
├── testdb.sh
└── track.sh
├── utils.go
└── vendor
├── github.com
├── boj
│ └── redistore
│ │ ├── .gitignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── doc.go
│ │ ├── redistore.go
│ │ └── redistore_test.go
├── boltdb
│ └── bolt
│ │ ├── .gitignore
│ │ ├── LICENSE
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── appveyor.yml
│ │ ├── bolt_386.go
│ │ ├── bolt_amd64.go
│ │ ├── bolt_arm.go
│ │ ├── bolt_arm64.go
│ │ ├── bolt_linux.go
│ │ ├── bolt_openbsd.go
│ │ ├── bolt_ppc.go
│ │ ├── bolt_ppc64.go
│ │ ├── bolt_ppc64le.go
│ │ ├── bolt_s390x.go
│ │ ├── bolt_unix.go
│ │ ├── bolt_unix_solaris.go
│ │ ├── bolt_windows.go
│ │ ├── boltsync_unix.go
│ │ ├── bucket.go
│ │ ├── bucket_test.go
│ │ ├── cmd
│ │ └── bolt
│ │ │ ├── main.go
│ │ │ └── main_test.go
│ │ ├── cursor.go
│ │ ├── cursor_test.go
│ │ ├── db.go
│ │ ├── db_test.go
│ │ ├── doc.go
│ │ ├── errors.go
│ │ ├── freelist.go
│ │ ├── freelist_test.go
│ │ ├── node.go
│ │ ├── node_test.go
│ │ ├── page.go
│ │ ├── page_test.go
│ │ ├── quick_test.go
│ │ ├── simulation_test.go
│ │ ├── tx.go
│ │ └── tx_test.go
├── davecgh
│ └── go-spew
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── cov_report.sh
│ │ ├── spew
│ │ ├── bypass.go
│ │ ├── bypasssafe.go
│ │ ├── common.go
│ │ ├── common_test.go
│ │ ├── config.go
│ │ ├── doc.go
│ │ ├── dump.go
│ │ ├── dump_test.go
│ │ ├── dumpcgo_test.go
│ │ ├── dumpnocgo_test.go
│ │ ├── example_test.go
│ │ ├── format.go
│ │ ├── format_test.go
│ │ ├── internal_test.go
│ │ ├── internalunsafe_test.go
│ │ ├── spew.go
│ │ ├── spew_test.go
│ │ └── testdata
│ │ │ └── dumpcgo.go
│ │ └── test_coverage.txt
├── garyburd
│ └── redigo
│ │ ├── .github
│ │ ├── CONTRIBUTING.md
│ │ └── ISSUE_TEMPLATE.md
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.markdown
│ │ ├── internal
│ │ ├── commandinfo.go
│ │ ├── commandinfo_test.go
│ │ └── redistest
│ │ │ └── testdb.go
│ │ ├── redis
│ │ ├── conn.go
│ │ ├── conn_test.go
│ │ ├── doc.go
│ │ ├── go17.go
│ │ ├── log.go
│ │ ├── pool.go
│ │ ├── pool_test.go
│ │ ├── pre_go17.go
│ │ ├── pubsub.go
│ │ ├── pubsub_test.go
│ │ ├── redis.go
│ │ ├── reply.go
│ │ ├── reply_test.go
│ │ ├── scan.go
│ │ ├── scan_test.go
│ │ ├── script.go
│ │ ├── script_test.go
│ │ ├── test_test.go
│ │ └── zpop_example_test.go
│ │ └── redisx
│ │ ├── connmux.go
│ │ ├── connmux_test.go
│ │ └── doc.go
├── gin-contrib
│ └── sse
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── sse-decoder.go
│ │ ├── sse-decoder_test.go
│ │ ├── sse-encoder.go
│ │ ├── sse_test.go
│ │ └── writer.go
├── gin-gonic
│ ├── contrib
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── README.md
│ │ ├── cache
│ │ │ ├── Godeps
│ │ │ │ └── Godeps.json
│ │ │ ├── README.md
│ │ │ ├── cache.go
│ │ │ ├── cache_test.go
│ │ │ ├── example
│ │ │ │ └── example.go
│ │ │ ├── inmemory.go
│ │ │ ├── inmemory_test.go
│ │ │ ├── memcached.go
│ │ │ ├── memcached_test.go
│ │ │ ├── redis.go
│ │ │ ├── redis_test.go
│ │ │ └── serializer.go
│ │ ├── commonlog
│ │ │ └── commonlog.go
│ │ ├── cors
│ │ │ ├── README.md
│ │ │ ├── config.go
│ │ │ ├── cors.go
│ │ │ └── cors_test.go
│ │ ├── expvar
│ │ │ ├── README.md
│ │ │ └── expvar.go
│ │ ├── ginrus
│ │ │ ├── Godeps
│ │ │ │ └── Godeps.json
│ │ │ ├── example
│ │ │ │ └── example.go
│ │ │ └── ginrus.go
│ │ ├── gzip
│ │ │ ├── Godeps
│ │ │ │ └── Godeps.json
│ │ │ ├── README.md
│ │ │ ├── example
│ │ │ │ └── example.go
│ │ │ ├── gzip.go
│ │ │ └── gzip_test.go
│ │ ├── jwt
│ │ │ ├── Godeps
│ │ │ │ └── Godeps.json
│ │ │ ├── README.md
│ │ │ ├── example
│ │ │ │ └── example.go
│ │ │ └── jwt.go
│ │ ├── newrelic
│ │ │ └── newrelic.go
│ │ ├── renders
│ │ │ └── multitemplate
│ │ │ │ ├── README.md
│ │ │ │ └── multitemplate.go
│ │ ├── rest
│ │ │ └── rest.go
│ │ ├── secure
│ │ │ ├── Godeps
│ │ │ │ └── Godeps.json
│ │ │ ├── example
│ │ │ │ └── example.go
│ │ │ ├── secure.go
│ │ │ └── secure_test.go
│ │ ├── sentry
│ │ │ ├── README.md
│ │ │ └── recovery.go
│ │ ├── sessions
│ │ │ ├── Godeps
│ │ │ │ └── Godeps.json
│ │ │ ├── README.md
│ │ │ ├── cookie.go
│ │ │ ├── cookie_test.go
│ │ │ ├── example_cookie
│ │ │ │ └── main.go
│ │ │ ├── example_redis
│ │ │ │ └── main.go
│ │ │ ├── redis.go
│ │ │ ├── redis_test.go
│ │ │ ├── sessions.go
│ │ │ └── sessions_test.go
│ │ └── static
│ │ │ ├── README.md
│ │ │ ├── example
│ │ │ ├── bindata
│ │ │ │ ├── bindata.go
│ │ │ │ ├── data
│ │ │ │ │ └── index.html
│ │ │ │ └── example.go
│ │ │ └── simple
│ │ │ │ └── example.go
│ │ │ ├── static.go
│ │ │ └── static_test.go
│ └── gin
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── AUTHORS.md
│ │ ├── BENCHMARKS.md
│ │ ├── CHANGELOG.md
│ │ ├── LICENSE
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── auth.go
│ │ ├── auth_test.go
│ │ ├── benchmarks_test.go
│ │ ├── binding
│ │ ├── binding.go
│ │ ├── binding_test.go
│ │ ├── default_validator.go
│ │ ├── example
│ │ │ ├── test.pb.go
│ │ │ └── test.proto
│ │ ├── form.go
│ │ ├── form_mapping.go
│ │ ├── json.go
│ │ ├── msgpack.go
│ │ ├── protobuf.go
│ │ ├── validate_test.go
│ │ └── xml.go
│ │ ├── codecov.yml
│ │ ├── context.go
│ │ ├── context_appengine.go
│ │ ├── context_test.go
│ │ ├── debug.go
│ │ ├── debug_test.go
│ │ ├── deprecated.go
│ │ ├── errors.go
│ │ ├── errors_test.go
│ │ ├── examples
│ │ ├── app-engine
│ │ │ ├── README.md
│ │ │ ├── app.yaml
│ │ │ └── hello.go
│ │ ├── auto-tls
│ │ │ ├── example1.go
│ │ │ └── example2.go
│ │ ├── basic
│ │ │ └── main.go
│ │ ├── graceful-shutdown
│ │ │ ├── close
│ │ │ │ └── server.go
│ │ │ └── graceful-shutdown
│ │ │ │ └── server.go
│ │ ├── realtime-advanced
│ │ │ ├── Makefile
│ │ │ ├── main.go
│ │ │ ├── resources
│ │ │ │ ├── room_login.templ.html
│ │ │ │ └── static
│ │ │ │ │ ├── epoch.min.css
│ │ │ │ │ ├── epoch.min.js
│ │ │ │ │ ├── prismjs.min.css
│ │ │ │ │ ├── prismjs.min.js
│ │ │ │ │ └── realtime.js
│ │ │ ├── rooms.go
│ │ │ ├── routes.go
│ │ │ └── stats.go
│ │ ├── realtime-chat
│ │ │ ├── Makefile
│ │ │ ├── main.go
│ │ │ ├── rooms.go
│ │ │ └── template.go
│ │ └── upload-file
│ │ │ ├── multiple
│ │ │ ├── main.go
│ │ │ └── public
│ │ │ │ └── index.html
│ │ │ └── single
│ │ │ ├── main.go
│ │ │ └── public
│ │ │ └── index.html
│ │ ├── fixtures
│ │ └── basic
│ │ │ ├── hello.tmpl
│ │ │ └── raw.tmpl
│ │ ├── fs.go
│ │ ├── gin.go
│ │ ├── ginS
│ │ ├── README.md
│ │ └── gins.go
│ │ ├── gin_integration_test.go
│ │ ├── gin_test.go
│ │ ├── githubapi_test.go
│ │ ├── logger.go
│ │ ├── logger_test.go
│ │ ├── logo.jpg
│ │ ├── middleware_test.go
│ │ ├── mode.go
│ │ ├── mode_test.go
│ │ ├── path.go
│ │ ├── path_test.go
│ │ ├── recovery.go
│ │ ├── recovery_test.go
│ │ ├── render
│ │ ├── data.go
│ │ ├── html.go
│ │ ├── json.go
│ │ ├── msgpack.go
│ │ ├── redirect.go
│ │ ├── render.go
│ │ ├── render_test.go
│ │ ├── text.go
│ │ ├── xml.go
│ │ └── yaml.go
│ │ ├── response_writer.go
│ │ ├── response_writer_test.go
│ │ ├── routergroup.go
│ │ ├── routergroup_test.go
│ │ ├── routes_test.go
│ │ ├── test_helpers.go
│ │ ├── tree.go
│ │ ├── tree_test.go
│ │ ├── utils.go
│ │ ├── utils_test.go
│ │ └── wercker.yml
├── golang
│ └── protobuf
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── AUTHORS
│ │ ├── CONTRIBUTORS
│ │ ├── LICENSE
│ │ ├── Make.protobuf
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── _conformance
│ │ ├── Makefile
│ │ ├── conformance.go
│ │ └── conformance_proto
│ │ │ ├── conformance.pb.go
│ │ │ └── conformance.proto
│ │ ├── descriptor
│ │ ├── descriptor.go
│ │ └── descriptor_test.go
│ │ ├── jsonpb
│ │ ├── jsonpb.go
│ │ ├── jsonpb_test.go
│ │ └── jsonpb_test_proto
│ │ │ ├── Makefile
│ │ │ ├── more_test_objects.pb.go
│ │ │ ├── more_test_objects.proto
│ │ │ ├── test_objects.pb.go
│ │ │ └── test_objects.proto
│ │ ├── proto
│ │ ├── Makefile
│ │ ├── all_test.go
│ │ ├── any_test.go
│ │ ├── clone.go
│ │ ├── clone_test.go
│ │ ├── decode.go
│ │ ├── decode_test.go
│ │ ├── encode.go
│ │ ├── encode_test.go
│ │ ├── equal.go
│ │ ├── equal_test.go
│ │ ├── extensions.go
│ │ ├── extensions_test.go
│ │ ├── lib.go
│ │ ├── map_test.go
│ │ ├── message_set.go
│ │ ├── message_set_test.go
│ │ ├── pointer_reflect.go
│ │ ├── pointer_unsafe.go
│ │ ├── properties.go
│ │ ├── proto3_proto
│ │ │ ├── proto3.pb.go
│ │ │ └── proto3.proto
│ │ ├── proto3_test.go
│ │ ├── size2_test.go
│ │ ├── size_test.go
│ │ ├── testdata
│ │ │ ├── Makefile
│ │ │ ├── golden_test.go
│ │ │ ├── test.pb.go
│ │ │ └── test.proto
│ │ ├── text.go
│ │ ├── text_parser.go
│ │ ├── text_parser_test.go
│ │ └── text_test.go
│ │ ├── protoc-gen-go
│ │ ├── Makefile
│ │ ├── descriptor
│ │ │ ├── Makefile
│ │ │ ├── descriptor.pb.go
│ │ │ └── descriptor.proto
│ │ ├── doc.go
│ │ ├── generator
│ │ │ ├── Makefile
│ │ │ ├── generator.go
│ │ │ └── name_test.go
│ │ ├── grpc
│ │ │ └── grpc.go
│ │ ├── link_grpc.go
│ │ ├── main.go
│ │ ├── plugin
│ │ │ ├── Makefile
│ │ │ ├── plugin.pb.go
│ │ │ ├── plugin.pb.golden
│ │ │ └── plugin.proto
│ │ └── testdata
│ │ │ ├── Makefile
│ │ │ ├── extension_base.proto
│ │ │ ├── extension_extra.proto
│ │ │ ├── extension_test.go
│ │ │ ├── extension_user.proto
│ │ │ ├── grpc.proto
│ │ │ ├── imp.pb.go.golden
│ │ │ ├── imp.proto
│ │ │ ├── imp2.proto
│ │ │ ├── imp3.proto
│ │ │ ├── main_test.go
│ │ │ ├── multi
│ │ │ ├── multi1.proto
│ │ │ ├── multi2.proto
│ │ │ └── multi3.proto
│ │ │ ├── my_test
│ │ │ ├── test.pb.go
│ │ │ ├── test.pb.go.golden
│ │ │ └── test.proto
│ │ │ └── proto3.proto
│ │ └── ptypes
│ │ ├── any.go
│ │ ├── any
│ │ ├── any.pb.go
│ │ └── any.proto
│ │ ├── any_test.go
│ │ ├── doc.go
│ │ ├── duration.go
│ │ ├── duration
│ │ ├── duration.pb.go
│ │ └── duration.proto
│ │ ├── duration_test.go
│ │ ├── empty
│ │ ├── empty.pb.go
│ │ └── empty.proto
│ │ ├── regen.sh
│ │ ├── struct
│ │ ├── struct.pb.go
│ │ └── struct.proto
│ │ ├── timestamp.go
│ │ ├── timestamp
│ │ ├── timestamp.pb.go
│ │ └── timestamp.proto
│ │ ├── timestamp_test.go
│ │ └── wrappers
│ │ ├── wrappers.pb.go
│ │ └── wrappers.proto
├── gorilla
│ ├── context
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── context.go
│ │ ├── context_test.go
│ │ └── doc.go
│ ├── securecookie
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── doc.go
│ │ ├── fuzz.go
│ │ ├── fuzz
│ │ │ └── gencorpus.go
│ │ ├── securecookie.go
│ │ └── securecookie_test.go
│ └── sessions
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── doc.go
│ │ ├── lex.go
│ │ ├── sessions.go
│ │ ├── sessions_test.go
│ │ ├── store.go
│ │ └── store_test.go
├── mattn
│ └── go-isatty
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── doc.go
│ │ ├── example_test.go
│ │ ├── isatty_appengine.go
│ │ ├── isatty_bsd.go
│ │ ├── isatty_linux.go
│ │ ├── isatty_linux_ppc64x.go
│ │ ├── isatty_others.go
│ │ ├── isatty_others_test.go
│ │ ├── isatty_solaris.go
│ │ ├── isatty_windows.go
│ │ └── isatty_windows_test.go
├── pmezard
│ └── go-difflib
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── README.md
│ │ └── difflib
│ │ ├── difflib.go
│ │ └── difflib_test.go
├── pquerna
│ └── ffjson
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── LICENSE
│ │ ├── Makefile
│ │ ├── NOTICE
│ │ ├── README.md
│ │ ├── ffjson.go
│ │ ├── ffjson
│ │ ├── decoder.go
│ │ ├── encoder.go
│ │ ├── marshal.go
│ │ └── pool.go
│ │ ├── fflib
│ │ └── v1
│ │ │ ├── buffer.go
│ │ │ ├── buffer_nopool.go
│ │ │ ├── buffer_pool.go
│ │ │ ├── bytenum.go
│ │ │ ├── decimal.go
│ │ │ ├── extfloat.go
│ │ │ ├── fold.go
│ │ │ ├── ftoa.go
│ │ │ ├── internal
│ │ │ ├── atof.go
│ │ │ ├── atoi.go
│ │ │ ├── extfloat.go
│ │ │ └── ftoa.go
│ │ │ ├── iota.go
│ │ │ ├── jsonstring.go
│ │ │ ├── jsonstring_test.go
│ │ │ ├── lexer.go
│ │ │ ├── lexer_test.go
│ │ │ ├── reader.go
│ │ │ ├── reader_scan_generic.go
│ │ │ └── reader_test.go
│ │ ├── generator
│ │ ├── generator.go
│ │ ├── inceptionmain.go
│ │ ├── parser.go
│ │ ├── tags.go
│ │ └── tempfile.go
│ │ ├── inception
│ │ ├── decoder.go
│ │ ├── decoder_tpl.go
│ │ ├── encoder.go
│ │ ├── encoder_tpl.go
│ │ ├── inception.go
│ │ ├── reflect.go
│ │ ├── tags.go
│ │ ├── template.go
│ │ └── writerstack.go
│ │ ├── shared
│ │ └── options.go
│ │ └── tests
│ │ ├── base.go
│ │ ├── bench.cmd
│ │ ├── encode_test.go
│ │ ├── ff.go
│ │ ├── ff_float_test.go
│ │ ├── ff_invalid_test.go
│ │ ├── ff_obj_test.go
│ │ ├── ff_string_test.go
│ │ ├── ff_test.go
│ │ ├── fuzz_test.go
│ │ ├── go.stripe
│ │ ├── base
│ │ │ └── customer.go
│ │ ├── ff
│ │ │ └── customer.go
│ │ └── stripe_test.go
│ │ ├── goser
│ │ ├── base
│ │ │ └── goser.go
│ │ ├── ff
│ │ │ └── goser.go
│ │ └── goser_test.go
│ │ ├── number
│ │ ├── ff
│ │ │ └── number.go
│ │ └── number_test.go
│ │ ├── t.cmd
│ │ ├── t.sh
│ │ └── types
│ │ ├── ff
│ │ └── everything.go
│ │ └── types_test.go
├── schollz
│ └── org.eclipse.paho.mqtt.golang
│ │ ├── .gitignore
│ │ ├── CONTRIBUTING.md
│ │ ├── DISTRIBUTION
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── about.html
│ │ ├── client.go
│ │ ├── components.go
│ │ ├── edl-v10
│ │ ├── epl-v10
│ │ ├── filestore.go
│ │ ├── fvt
│ │ ├── README.md
│ │ ├── mosquitto.cfg
│ │ ├── rsmb.cfg
│ │ └── setup_IMA.sh
│ │ ├── fvt_client_test.go
│ │ ├── fvt_store_test.go
│ │ ├── fvt_test.go
│ │ ├── memstore.go
│ │ ├── message.go
│ │ ├── messageids.go
│ │ ├── net.go
│ │ ├── notice.html
│ │ ├── oops.go
│ │ ├── options.go
│ │ ├── packets
│ │ ├── connack.go
│ │ ├── connect.go
│ │ ├── disconnect.go
│ │ ├── packets.go
│ │ ├── packets_test.go
│ │ ├── pingreq.go
│ │ ├── pingresp.go
│ │ ├── puback.go
│ │ ├── pubcomp.go
│ │ ├── publish.go
│ │ ├── pubrec.go
│ │ ├── pubrel.go
│ │ ├── suback.go
│ │ ├── subscribe.go
│ │ ├── unsuback.go
│ │ └── unsubscribe.go
│ │ ├── ping.go
│ │ ├── router.go
│ │ ├── samples
│ │ ├── build.sh
│ │ ├── custom_store.go
│ │ ├── routing.go
│ │ ├── sample.go
│ │ ├── samplecerts
│ │ │ ├── CAfile.pem
│ │ │ ├── README
│ │ │ ├── client-crt.pem
│ │ │ ├── client-key.pem
│ │ │ ├── intermediateCA-crt.pem
│ │ │ ├── intermediateCA-key.pem
│ │ │ ├── mosquitto.org.crt
│ │ │ ├── rootCA-crt.pem
│ │ │ ├── rootCA-key.pem
│ │ │ ├── server-crt.pem
│ │ │ └── server-key.pem
│ │ ├── simple.go
│ │ ├── ssl.go
│ │ ├── stdinpub.go
│ │ └── stdoutsub.go
│ │ ├── store.go
│ │ ├── token.go
│ │ ├── topic.go
│ │ ├── trace.go
│ │ ├── unit_client_test.go
│ │ ├── unit_messageids_test.go
│ │ ├── unit_options_test.go
│ │ ├── unit_ping_test.go
│ │ ├── unit_router_test.go
│ │ ├── unit_store_test.go
│ │ └── unit_topic_test.go
├── stretchr
│ └── testify
│ │ ├── .gitignore
│ │ ├── .travis.yml
│ │ ├── Godeps
│ │ ├── Godeps.json
│ │ └── Readme
│ │ ├── LICENCE.txt
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── _codegen
│ │ └── main.go
│ │ ├── assert
│ │ ├── assertion_forward.go
│ │ ├── assertion_forward.go.tmpl
│ │ ├── assertions.go
│ │ ├── assertions_test.go
│ │ ├── doc.go
│ │ ├── errors.go
│ │ ├── forward_assertions.go
│ │ ├── forward_assertions_test.go
│ │ ├── http_assertions.go
│ │ └── http_assertions_test.go
│ │ ├── doc.go
│ │ ├── http
│ │ ├── doc.go
│ │ ├── test_response_writer.go
│ │ └── test_round_tripper.go
│ │ ├── mock
│ │ ├── doc.go
│ │ ├── mock.go
│ │ └── mock_test.go
│ │ ├── package_test.go
│ │ ├── require
│ │ ├── doc.go
│ │ ├── forward_requirements.go
│ │ ├── forward_requirements_test.go
│ │ ├── require.go
│ │ ├── require.go.tmpl
│ │ ├── require_forward.go
│ │ ├── require_forward.go.tmpl
│ │ ├── requirements.go
│ │ └── requirements_test.go
│ │ └── suite
│ │ ├── doc.go
│ │ ├── interfaces.go
│ │ ├── suite.go
│ │ └── suite_test.go
└── ugorji
│ └── go
│ ├── LICENSE
│ ├── README.md
│ ├── codec
│ ├── 0doc.go
│ ├── README.md
│ ├── binc.go
│ ├── cbor.go
│ ├── cbor_test.go
│ ├── codec_test.go
│ ├── codecgen
│ │ ├── README.md
│ │ ├── gen.go
│ │ └── z.go
│ ├── codecgen_test.go
│ ├── decode.go
│ ├── encode.go
│ ├── fast-path.generated.go
│ ├── fast-path.go.tmpl
│ ├── fast-path.not.go
│ ├── gen-dec-array.go.tmpl
│ ├── gen-dec-map.go.tmpl
│ ├── gen-helper.generated.go
│ ├── gen-helper.go.tmpl
│ ├── gen.generated.go
│ ├── gen.go
│ ├── goversion_arrayof_gte_go15.go
│ ├── goversion_arrayof_lt_go15.go
│ ├── goversion_makemap_gte_go19.go
│ ├── goversion_makemap_lt_go19.go
│ ├── goversion_unsupported_lt_go14.go
│ ├── goversion_vendor_eq_go15.go
│ ├── goversion_vendor_eq_go16.go
│ ├── goversion_vendor_gte_go17.go
│ ├── goversion_vendor_lt_go15.go
│ ├── helper.go
│ ├── helper_internal.go
│ ├── helper_not_unsafe.go
│ ├── helper_test.go
│ ├── helper_unsafe.go
│ ├── json.go
│ ├── mammoth-test.go.tmpl
│ ├── mammoth_generated_test.go
│ ├── msgpack.go
│ ├── noop.go
│ ├── py_test.go
│ ├── rpc.go
│ ├── shared_test.go
│ ├── simple.go
│ ├── test-cbor-goldens.json
│ ├── test.py
│ ├── time.go
│ ├── values_test.go
│ ├── xml.go
│ └── z_all_test.go
│ └── msgpack.org.md
├── golang.org
└── x
│ ├── net
│ ├── .gitattributes
│ ├── .gitignore
│ ├── AUTHORS
│ ├── CONTRIBUTING.md
│ ├── CONTRIBUTORS
│ ├── LICENSE
│ ├── PATENTS
│ ├── README.md
│ ├── 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
│ └── sys
│ ├── .gitattributes
│ ├── .gitignore
│ ├── AUTHORS
│ ├── CONTRIBUTING.md
│ ├── CONTRIBUTORS
│ ├── LICENSE
│ ├── PATENTS
│ ├── README.md
│ ├── codereview.cfg
│ ├── plan9
│ ├── asm.s
│ ├── asm_plan9_386.s
│ ├── asm_plan9_amd64.s
│ ├── const_plan9.go
│ ├── dir_plan9.go
│ ├── env_plan9.go
│ ├── env_unset.go
│ ├── errors_plan9.go
│ ├── mkall.sh
│ ├── mkerrors.sh
│ ├── mksyscall.pl
│ ├── mksysnum_plan9.sh
│ ├── pwd_go15_plan9.go
│ ├── pwd_plan9.go
│ ├── race.go
│ ├── race0.go
│ ├── str.go
│ ├── syscall.go
│ ├── syscall_plan9.go
│ ├── syscall_test.go
│ ├── zsyscall_plan9_386.go
│ ├── zsyscall_plan9_amd64.go
│ └── zsysnum_plan9.go
│ ├── unix
│ ├── .gitignore
│ ├── README.md
│ ├── asm_darwin_386.s
│ ├── asm_darwin_amd64.s
│ ├── asm_darwin_arm.s
│ ├── asm_darwin_arm64.s
│ ├── asm_dragonfly_amd64.s
│ ├── asm_freebsd_386.s
│ ├── asm_freebsd_amd64.s
│ ├── asm_freebsd_arm.s
│ ├── asm_linux_386.s
│ ├── asm_linux_amd64.s
│ ├── asm_linux_arm.s
│ ├── asm_linux_arm64.s
│ ├── asm_linux_mips64x.s
│ ├── asm_linux_mipsx.s
│ ├── asm_linux_ppc64x.s
│ ├── asm_linux_s390x.s
│ ├── asm_netbsd_386.s
│ ├── asm_netbsd_amd64.s
│ ├── asm_netbsd_arm.s
│ ├── asm_openbsd_386.s
│ ├── asm_openbsd_amd64.s
│ ├── asm_openbsd_arm.s
│ ├── asm_solaris_amd64.s
│ ├── bluetooth_linux.go
│ ├── cap_freebsd.go
│ ├── constants.go
│ ├── creds_test.go
│ ├── dev_darwin.go
│ ├── dev_darwin_test.go
│ ├── dev_dragonfly.go
│ ├── dev_dragonfly_test.go
│ ├── dev_freebsd.go
│ ├── dev_linux.go
│ ├── dev_linux_test.go
│ ├── dev_netbsd.go
│ ├── dev_netbsd_test.go
│ ├── dev_openbsd.go
│ ├── dev_openbsd_test.go
│ ├── dev_solaris_test.go
│ ├── dirent.go
│ ├── endian_big.go
│ ├── endian_little.go
│ ├── env_unix.go
│ ├── env_unset.go
│ ├── errors_freebsd_386.go
│ ├── errors_freebsd_amd64.go
│ ├── errors_freebsd_arm.go
│ ├── export_test.go
│ ├── file_unix.go
│ ├── flock.go
│ ├── flock_linux_32bit.go
│ ├── gccgo.go
│ ├── gccgo_c.c
│ ├── gccgo_linux_amd64.go
│ ├── linux
│ │ ├── Dockerfile
│ │ ├── mkall.go
│ │ ├── mksysnum.pl
│ │ └── types.go
│ ├── mkall.sh
│ ├── mkerrors.sh
│ ├── mkpost.go
│ ├── mksyscall.pl
│ ├── mksyscall_solaris.pl
│ ├── mksysctl_openbsd.pl
│ ├── mksysnum_darwin.pl
│ ├── mksysnum_dragonfly.pl
│ ├── mksysnum_freebsd.pl
│ ├── mksysnum_netbsd.pl
│ ├── mksysnum_openbsd.pl
│ ├── mmap_unix_test.go
│ ├── openbsd_pledge.go
│ ├── openbsd_test.go
│ ├── pagesize_unix.go
│ ├── race.go
│ ├── race0.go
│ ├── sockcmsg_linux.go
│ ├── sockcmsg_unix.go
│ ├── str.go
│ ├── syscall.go
│ ├── syscall_bsd.go
│ ├── syscall_bsd_test.go
│ ├── syscall_darwin.go
│ ├── syscall_darwin_386.go
│ ├── syscall_darwin_amd64.go
│ ├── syscall_darwin_arm.go
│ ├── syscall_darwin_arm64.go
│ ├── syscall_dragonfly.go
│ ├── syscall_dragonfly_amd64.go
│ ├── syscall_freebsd.go
│ ├── syscall_freebsd_386.go
│ ├── syscall_freebsd_amd64.go
│ ├── syscall_freebsd_arm.go
│ ├── syscall_freebsd_test.go
│ ├── syscall_linux.go
│ ├── syscall_linux_386.go
│ ├── syscall_linux_amd64.go
│ ├── syscall_linux_amd64_gc.go
│ ├── syscall_linux_arm.go
│ ├── syscall_linux_arm64.go
│ ├── syscall_linux_mips64x.go
│ ├── syscall_linux_mipsx.go
│ ├── syscall_linux_ppc64x.go
│ ├── syscall_linux_s390x.go
│ ├── syscall_linux_sparc64.go
│ ├── syscall_linux_test.go
│ ├── syscall_netbsd.go
│ ├── syscall_netbsd_386.go
│ ├── syscall_netbsd_amd64.go
│ ├── syscall_netbsd_arm.go
│ ├── syscall_no_getwd.go
│ ├── syscall_openbsd.go
│ ├── syscall_openbsd_386.go
│ ├── syscall_openbsd_amd64.go
│ ├── syscall_openbsd_arm.go
│ ├── syscall_solaris.go
│ ├── syscall_solaris_amd64.go
│ ├── syscall_solaris_test.go
│ ├── syscall_test.go
│ ├── syscall_unix.go
│ ├── syscall_unix_gc.go
│ ├── syscall_unix_test.go
│ ├── types_darwin.go
│ ├── types_dragonfly.go
│ ├── types_freebsd.go
│ ├── types_netbsd.go
│ ├── types_openbsd.go
│ ├── types_solaris.go
│ ├── zerrors_darwin_386.go
│ ├── zerrors_darwin_amd64.go
│ ├── zerrors_darwin_arm.go
│ ├── zerrors_darwin_arm64.go
│ ├── zerrors_dragonfly_amd64.go
│ ├── zerrors_freebsd_386.go
│ ├── zerrors_freebsd_amd64.go
│ ├── zerrors_freebsd_arm.go
│ ├── zerrors_linux_386.go
│ ├── zerrors_linux_amd64.go
│ ├── zerrors_linux_arm.go
│ ├── zerrors_linux_arm64.go
│ ├── zerrors_linux_mips.go
│ ├── zerrors_linux_mips64.go
│ ├── zerrors_linux_mips64le.go
│ ├── zerrors_linux_mipsle.go
│ ├── zerrors_linux_ppc64.go
│ ├── zerrors_linux_ppc64le.go
│ ├── zerrors_linux_s390x.go
│ ├── zerrors_linux_sparc64.go
│ ├── zerrors_netbsd_386.go
│ ├── zerrors_netbsd_amd64.go
│ ├── zerrors_netbsd_arm.go
│ ├── zerrors_openbsd_386.go
│ ├── zerrors_openbsd_amd64.go
│ ├── zerrors_openbsd_arm.go
│ ├── zerrors_solaris_amd64.go
│ ├── zsyscall_darwin_386.go
│ ├── zsyscall_darwin_amd64.go
│ ├── zsyscall_darwin_arm.go
│ ├── zsyscall_darwin_arm64.go
│ ├── zsyscall_dragonfly_amd64.go
│ ├── zsyscall_freebsd_386.go
│ ├── zsyscall_freebsd_amd64.go
│ ├── zsyscall_freebsd_arm.go
│ ├── zsyscall_linux_386.go
│ ├── zsyscall_linux_amd64.go
│ ├── zsyscall_linux_arm.go
│ ├── zsyscall_linux_arm64.go
│ ├── zsyscall_linux_mips.go
│ ├── zsyscall_linux_mips64.go
│ ├── zsyscall_linux_mips64le.go
│ ├── zsyscall_linux_mipsle.go
│ ├── zsyscall_linux_ppc64.go
│ ├── zsyscall_linux_ppc64le.go
│ ├── zsyscall_linux_s390x.go
│ ├── zsyscall_linux_sparc64.go
│ ├── zsyscall_netbsd_386.go
│ ├── zsyscall_netbsd_amd64.go
│ ├── zsyscall_netbsd_arm.go
│ ├── zsyscall_openbsd_386.go
│ ├── zsyscall_openbsd_amd64.go
│ ├── zsyscall_openbsd_arm.go
│ ├── zsyscall_solaris_amd64.go
│ ├── zsysctl_openbsd.go
│ ├── zsysnum_darwin_386.go
│ ├── zsysnum_darwin_amd64.go
│ ├── zsysnum_darwin_arm.go
│ ├── zsysnum_darwin_arm64.go
│ ├── zsysnum_dragonfly_amd64.go
│ ├── zsysnum_freebsd_386.go
│ ├── zsysnum_freebsd_amd64.go
│ ├── zsysnum_freebsd_arm.go
│ ├── zsysnum_linux_386.go
│ ├── zsysnum_linux_amd64.go
│ ├── zsysnum_linux_arm.go
│ ├── zsysnum_linux_arm64.go
│ ├── zsysnum_linux_mips.go
│ ├── zsysnum_linux_mips64.go
│ ├── zsysnum_linux_mips64le.go
│ ├── zsysnum_linux_mipsle.go
│ ├── zsysnum_linux_ppc64.go
│ ├── zsysnum_linux_ppc64le.go
│ ├── zsysnum_linux_s390x.go
│ ├── zsysnum_linux_sparc64.go
│ ├── zsysnum_netbsd_386.go
│ ├── zsysnum_netbsd_amd64.go
│ ├── zsysnum_netbsd_arm.go
│ ├── zsysnum_openbsd_386.go
│ ├── zsysnum_openbsd_amd64.go
│ ├── zsysnum_openbsd_arm.go
│ ├── zsysnum_solaris_amd64.go
│ ├── ztypes_darwin_386.go
│ ├── ztypes_darwin_amd64.go
│ ├── ztypes_darwin_arm.go
│ ├── ztypes_darwin_arm64.go
│ ├── ztypes_dragonfly_amd64.go
│ ├── ztypes_freebsd_386.go
│ ├── ztypes_freebsd_amd64.go
│ ├── ztypes_freebsd_arm.go
│ ├── ztypes_linux_386.go
│ ├── ztypes_linux_amd64.go
│ ├── ztypes_linux_arm.go
│ ├── ztypes_linux_arm64.go
│ ├── ztypes_linux_mips.go
│ ├── ztypes_linux_mips64.go
│ ├── ztypes_linux_mips64le.go
│ ├── ztypes_linux_mipsle.go
│ ├── ztypes_linux_ppc64.go
│ ├── ztypes_linux_ppc64le.go
│ ├── ztypes_linux_s390x.go
│ ├── ztypes_linux_sparc64.go
│ ├── ztypes_netbsd_386.go
│ ├── ztypes_netbsd_amd64.go
│ ├── ztypes_netbsd_arm.go
│ ├── ztypes_openbsd_386.go
│ ├── ztypes_openbsd_amd64.go
│ ├── ztypes_openbsd_arm.go
│ └── ztypes_solaris_amd64.go
│ └── windows
│ ├── asm_windows_386.s
│ ├── asm_windows_amd64.s
│ ├── dll_windows.go
│ ├── env_unset.go
│ ├── env_windows.go
│ ├── eventlog.go
│ ├── exec_windows.go
│ ├── memory_windows.go
│ ├── mksyscall.go
│ ├── race.go
│ ├── race0.go
│ ├── registry
│ ├── export_test.go
│ ├── key.go
│ ├── mksyscall.go
│ ├── registry_test.go
│ ├── syscall.go
│ ├── value.go
│ └── zsyscall_windows.go
│ ├── security_windows.go
│ ├── service.go
│ ├── str.go
│ ├── svc
│ ├── debug
│ │ ├── log.go
│ │ └── service.go
│ ├── event.go
│ ├── eventlog
│ │ ├── install.go
│ │ ├── log.go
│ │ └── log_test.go
│ ├── example
│ │ ├── beep.go
│ │ ├── install.go
│ │ ├── main.go
│ │ ├── manage.go
│ │ └── service.go
│ ├── go12.c
│ ├── go12.go
│ ├── go13.go
│ ├── mgr
│ │ ├── config.go
│ │ ├── mgr.go
│ │ ├── mgr_test.go
│ │ └── service.go
│ ├── security.go
│ ├── service.go
│ ├── svc_test.go
│ ├── sys_386.s
│ └── sys_amd64.s
│ ├── syscall.go
│ ├── syscall_test.go
│ ├── syscall_windows.go
│ ├── syscall_windows_test.go
│ ├── types_windows.go
│ ├── types_windows_386.go
│ ├── types_windows_amd64.go
│ └── zsyscall_windows.go
└── gopkg.in
├── go-playground
└── validator.v8
│ ├── .gitignore
│ ├── LICENSE
│ ├── README.md
│ ├── baked_in.go
│ ├── benchmarks_test.go
│ ├── cache.go
│ ├── doc.go
│ ├── examples
│ ├── custom
│ │ └── custom.go
│ ├── simple
│ │ └── simple.go
│ └── struct-level
│ │ └── struct_level.go
│ ├── examples_test.go
│ ├── logo.png
│ ├── regexes.go
│ ├── util.go
│ ├── validator.go
│ └── validator_test.go
└── yaml.v2
├── .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
/.gitattributes:
--------------------------------------------------------------------------------
1 | static/* linguist-vendored
2 | testing/* linguist-vendored
3 |
--------------------------------------------------------------------------------
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: schollz
4 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 |
3 | go:
4 | - tip
5 |
--------------------------------------------------------------------------------
/NOTICE:
--------------------------------------------------------------------------------
1 | FIND
2 | Copyright 2015-2016 Zack Scholl
3 |
4 | This product includes software developed by Zack Scholl.
5 |
--------------------------------------------------------------------------------
/backup_test.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "testing"
5 |
6 | "github.com/stretchr/testify/assert"
7 | )
8 |
9 | func TestBackup(t *testing.T) {
10 | assert.Equal(t, dumpFingerprints("testdb"), nil)
11 | }
12 |
--------------------------------------------------------------------------------
/data/.datagoeshere:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/data/.datagoeshere
--------------------------------------------------------------------------------
/data/testdb.db.backup:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/data/testdb.db.backup
--------------------------------------------------------------------------------
/macs.json:
--------------------------------------------------------------------------------
1 | {
2 | "ac:86:74:6b:9b:80":true,
3 | "ac:86:74:6b:9b:81":true,
4 | "ac:86:74:6b:9b:82":true,
5 | "ac:86:74:6b:9b:83":true,
6 | "ac:86:74:6b:9b:84":true,
7 | "ac:86:74:6b:9b:60":true,
8 | "ac:86:74:6b:9b:61":true,
9 | "ac:86:74:6b:9b:62":true,
10 | "ac:86:74:6b:9b:63":true,
11 | "ac:86:74:6b:9b:a0":true,
12 | "ac:86:74:6b:9b:a1":true,
13 | "ac:86:74:6b:9b:a2":true,
14 | "ac:86:74:6b:9b:a3":true,
15 | "ac:86:74:6b:9b:a4":true,
16 | "c4:0a:cb:b3:d6:0b":true
17 | }
18 |
--------------------------------------------------------------------------------
/static/css/2-col-portfolio.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Start Bootstrap - 2 Col Portfolio HTML Template (http://startbootstrap.com)
3 | * Code licensed under the Apache License v2.0.
4 | * For details, see http://www.apache.org/licenses/LICENSE-2.0.
5 | */
6 |
7 | body {
8 | padding-top: 70px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
9 | }
10 |
11 | .portfolio-item {
12 | margin-bottom: 25px;
13 | }
14 |
15 | footer {
16 | margin: 50px 0;
17 | }
18 |
--------------------------------------------------------------------------------
/static/css/3-col-portfolio.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Start Bootstrap - 3 Col Portfolio HTML Template (http://startbootstrap.com)
3 | * Code licensed under the Apache License v2.0.
4 | * For details, see http://www.apache.org/licenses/LICENSE-2.0.
5 | */
6 |
7 | body {
8 | padding-top: 70px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
9 | }
10 |
11 | .portfolio-item {
12 | margin-bottom: 25px;
13 | }
14 |
15 | footer {
16 | margin: 50px 0;
17 | }
--------------------------------------------------------------------------------
/static/css/continuum.css:
--------------------------------------------------------------------------------
1 | .tableelem {
2 | padding-left: 10px;
3 | padding-right: 10px;
4 | padding-bottom: 2px;
5 | padding-top: 2px;
6 | border-width: 2px;
7 | border-color: white;
8 | background-color: #E0E0E0;
9 | }
10 | .tableheader {
11 | background-color: #C0C0C0;
12 | }
13 | .bokehtable form table tr td {
14 | padding: 2px;
15 | }
16 | .bokehtable form table tr td input {
17 | padding: 0px;
18 | }
19 | .bokehtable table tr td {
20 | padding: 2px;
21 | }
22 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/static/font-awesome-4.3.0/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/static/font-awesome-4.3.0/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/static/font-awesome-4.3.0/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/static/font-awesome-4.3.0/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/static/font-awesome-4.3.0/fonts/fontawesome-webfont.woff2
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/less/bordered-pulled.less:
--------------------------------------------------------------------------------
1 | // Bordered & Pulled
2 | // -------------------------
3 |
4 | .@{fa-css-prefix}-border {
5 | padding: .2em .25em .15em;
6 | border: solid .08em @fa-border-color;
7 | border-radius: .1em;
8 | }
9 |
10 | .pull-right { float: right; }
11 | .pull-left { float: left; }
12 |
13 | .@{fa-css-prefix} {
14 | &.pull-left { margin-right: .3em; }
15 | &.pull-right { margin-left: .3em; }
16 | }
17 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/less/core.less:
--------------------------------------------------------------------------------
1 | // Base Class Definition
2 | // -------------------------
3 |
4 | .@{fa-css-prefix} {
5 | display: inline-block;
6 | font: normal normal normal @fa-font-size-base/1 FontAwesome; // shortening font declaration
7 | font-size: inherit; // can't have font-size inherit on line above, so need to override
8 | text-rendering: auto; // optimizelegibility throws things off #1094
9 | -webkit-font-smoothing: antialiased;
10 | -moz-osx-font-smoothing: grayscale;
11 | transform: translate(0, 0); // ensures no half-pixel rendering in firefox
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/less/fixed-width.less:
--------------------------------------------------------------------------------
1 | // Fixed Width Icons
2 | // -------------------------
3 | .@{fa-css-prefix}-fw {
4 | width: (18em / 14);
5 | text-align: center;
6 | }
7 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/less/font-awesome.less:
--------------------------------------------------------------------------------
1 | /*!
2 | * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome
3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4 | */
5 |
6 | @import "variables.less";
7 | @import "mixins.less";
8 | @import "path.less";
9 | @import "core.less";
10 | @import "larger.less";
11 | @import "fixed-width.less";
12 | @import "list.less";
13 | @import "bordered-pulled.less";
14 | @import "animated.less";
15 | @import "rotated-flipped.less";
16 | @import "stacked.less";
17 | @import "icons.less";
18 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/less/larger.less:
--------------------------------------------------------------------------------
1 | // Icon Sizes
2 | // -------------------------
3 |
4 | /* makes the font 33% larger relative to the icon container */
5 | .@{fa-css-prefix}-lg {
6 | font-size: (4em / 3);
7 | line-height: (3em / 4);
8 | vertical-align: -15%;
9 | }
10 | .@{fa-css-prefix}-2x { font-size: 2em; }
11 | .@{fa-css-prefix}-3x { font-size: 3em; }
12 | .@{fa-css-prefix}-4x { font-size: 4em; }
13 | .@{fa-css-prefix}-5x { font-size: 5em; }
14 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/less/list.less:
--------------------------------------------------------------------------------
1 | // List Icons
2 | // -------------------------
3 |
4 | .@{fa-css-prefix}-ul {
5 | padding-left: 0;
6 | margin-left: @fa-li-width;
7 | list-style-type: none;
8 | > li { position: relative; }
9 | }
10 | .@{fa-css-prefix}-li {
11 | position: absolute;
12 | left: -@fa-li-width;
13 | width: @fa-li-width;
14 | top: (2em / 14);
15 | text-align: center;
16 | &.@{fa-css-prefix}-lg {
17 | left: (-@fa-li-width + (4em / 14));
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/less/path.less:
--------------------------------------------------------------------------------
1 | /* FONT PATH
2 | * -------------------------- */
3 |
4 | @font-face {
5 | font-family: 'FontAwesome';
6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}');
7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'),
9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'),
10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg');
12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
13 | font-weight: normal;
14 | font-style: normal;
15 | }
16 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/less/rotated-flipped.less:
--------------------------------------------------------------------------------
1 | // Rotated & Flipped Icons
2 | // -------------------------
3 |
4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); }
5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }
6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }
7 |
8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); }
9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); }
10 |
11 | // Hook for IE8-9
12 | // -------------------------
13 |
14 | :root .@{fa-css-prefix}-rotate-90,
15 | :root .@{fa-css-prefix}-rotate-180,
16 | :root .@{fa-css-prefix}-rotate-270,
17 | :root .@{fa-css-prefix}-flip-horizontal,
18 | :root .@{fa-css-prefix}-flip-vertical {
19 | filter: none;
20 | }
21 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/less/stacked.less:
--------------------------------------------------------------------------------
1 | // Stacked Icons
2 | // -------------------------
3 |
4 | .@{fa-css-prefix}-stack {
5 | position: relative;
6 | display: inline-block;
7 | width: 2em;
8 | height: 2em;
9 | line-height: 2em;
10 | vertical-align: middle;
11 | }
12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
13 | position: absolute;
14 | left: 0;
15 | width: 100%;
16 | text-align: center;
17 | }
18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; }
19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; }
20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; }
21 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/scss/_bordered-pulled.scss:
--------------------------------------------------------------------------------
1 | // Bordered & Pulled
2 | // -------------------------
3 |
4 | .#{$fa-css-prefix}-border {
5 | padding: .2em .25em .15em;
6 | border: solid .08em $fa-border-color;
7 | border-radius: .1em;
8 | }
9 |
10 | .pull-right { float: right; }
11 | .pull-left { float: left; }
12 |
13 | .#{$fa-css-prefix} {
14 | &.pull-left { margin-right: .3em; }
15 | &.pull-right { margin-left: .3em; }
16 | }
17 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/scss/_core.scss:
--------------------------------------------------------------------------------
1 | // Base Class Definition
2 | // -------------------------
3 |
4 | .#{$fa-css-prefix} {
5 | display: inline-block;
6 | font: normal normal normal #{$fa-font-size-base}/1 FontAwesome; // shortening font declaration
7 | font-size: inherit; // can't have font-size inherit on line above, so need to override
8 | text-rendering: auto; // optimizelegibility throws things off #1094
9 | -webkit-font-smoothing: antialiased;
10 | -moz-osx-font-smoothing: grayscale;
11 | transform: translate(0, 0); // ensures no half-pixel rendering in firefox
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/scss/_fixed-width.scss:
--------------------------------------------------------------------------------
1 | // Fixed Width Icons
2 | // -------------------------
3 | .#{$fa-css-prefix}-fw {
4 | width: (18em / 14);
5 | text-align: center;
6 | }
7 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/scss/_larger.scss:
--------------------------------------------------------------------------------
1 | // Icon Sizes
2 | // -------------------------
3 |
4 | /* makes the font 33% larger relative to the icon container */
5 | .#{$fa-css-prefix}-lg {
6 | font-size: (4em / 3);
7 | line-height: (3em / 4);
8 | vertical-align: -15%;
9 | }
10 | .#{$fa-css-prefix}-2x { font-size: 2em; }
11 | .#{$fa-css-prefix}-3x { font-size: 3em; }
12 | .#{$fa-css-prefix}-4x { font-size: 4em; }
13 | .#{$fa-css-prefix}-5x { font-size: 5em; }
14 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/scss/_list.scss:
--------------------------------------------------------------------------------
1 | // List Icons
2 | // -------------------------
3 |
4 | .#{$fa-css-prefix}-ul {
5 | padding-left: 0;
6 | margin-left: $fa-li-width;
7 | list-style-type: none;
8 | > li { position: relative; }
9 | }
10 | .#{$fa-css-prefix}-li {
11 | position: absolute;
12 | left: -$fa-li-width;
13 | width: $fa-li-width;
14 | top: (2em / 14);
15 | text-align: center;
16 | &.#{$fa-css-prefix}-lg {
17 | left: -$fa-li-width + (4em / 14);
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/scss/_rotated-flipped.scss:
--------------------------------------------------------------------------------
1 | // Rotated & Flipped Icons
2 | // -------------------------
3 |
4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); }
5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); }
6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); }
7 |
8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); }
9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); }
10 |
11 | // Hook for IE8-9
12 | // -------------------------
13 |
14 | :root .#{$fa-css-prefix}-rotate-90,
15 | :root .#{$fa-css-prefix}-rotate-180,
16 | :root .#{$fa-css-prefix}-rotate-270,
17 | :root .#{$fa-css-prefix}-flip-horizontal,
18 | :root .#{$fa-css-prefix}-flip-vertical {
19 | filter: none;
20 | }
21 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/scss/_stacked.scss:
--------------------------------------------------------------------------------
1 | // Stacked Icons
2 | // -------------------------
3 |
4 | .#{$fa-css-prefix}-stack {
5 | position: relative;
6 | display: inline-block;
7 | width: 2em;
8 | height: 2em;
9 | line-height: 2em;
10 | vertical-align: middle;
11 | }
12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x {
13 | position: absolute;
14 | left: 0;
15 | width: 100%;
16 | text-align: center;
17 | }
18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; }
19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; }
20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; }
21 |
--------------------------------------------------------------------------------
/static/font-awesome-4.3.0/scss/font-awesome.scss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome
3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4 | */
5 |
6 | @import "variables";
7 | @import "mixins";
8 | @import "path";
9 | @import "core";
10 | @import "larger";
11 | @import "fixed-width";
12 | @import "list";
13 | @import "bordered-pulled";
14 | @import "animated";
15 | @import "rotated-flipped";
16 | @import "stacked";
17 | @import "icons";
18 |
--------------------------------------------------------------------------------
/static/img/FIND_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/static/img/FIND_icon.png
--------------------------------------------------------------------------------
/static/img/FIND_icon_larger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/static/img/FIND_icon_larger.png
--------------------------------------------------------------------------------
/static/img/compass.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/static/img/compass.png
--------------------------------------------------------------------------------
/static/img/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/static/img/favicon.ico
--------------------------------------------------------------------------------
/static/js/images/marker-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/static/js/images/marker-icon.png
--------------------------------------------------------------------------------
/static/js/images/marker-shadow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/static/js/images/marker-shadow.png
--------------------------------------------------------------------------------
/static/logo.txt:
--------------------------------------------------------------------------------
1 | -----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----
2 | _________ _____
3 | / __/ _/ |/ / _ \ ______ _____ _____ ____
4 | / _/_/ // / // / (_-< -_) __/ |/ / -_) __/
5 | /_/ /___/_/|_/____/ /___|__/_/ |___/\__/_/
6 |
--------------------------------------------------------------------------------
/static/splash.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/static/splash.gif
--------------------------------------------------------------------------------
/templates/pie.tmpl:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/testing/calculate.sh:
--------------------------------------------------------------------------------
1 | curl http://127.0.0.1:8003/calculate?group=testdb
2 | curl http://127.0.0.1:8003/calculate?group=testdb
3 | curl http://127.0.0.1:8003/calculate?group=testdb
4 | curl http://127.0.0.1:8003/calculate?group=testdb
5 | curl http://127.0.0.1:8003/calculate?group=testdb
6 | curl http://127.0.0.1:8003/calculate?group=testdb
7 | curl http://127.0.0.1:8003/calculate?group=testdb
8 | curl http://127.0.0.1:8003/calculate?group=testdb
9 | curl http://127.0.0.1:8003/calculate?group=testdb
10 | curl http://127.0.0.1:8003/calculate?group=testdb
11 | curl http://127.0.0.1:8003/calculate?group=testdb
12 | curl http://127.0.0.1:8003/calculate?group=testdb
13 | curl http://127.0.0.1:8003/calculate?group=testdb
14 |
--------------------------------------------------------------------------------
/vendor/github.com/boj/redistore/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 |
3 |
--------------------------------------------------------------------------------
/vendor/github.com/boj/redistore/doc.go:
--------------------------------------------------------------------------------
1 | /*
2 | Package redistore is a session store backend for gorilla/sessions
3 | */
4 | package redistore
5 |
--------------------------------------------------------------------------------
/vendor/github.com/boltdb/bolt/.gitignore:
--------------------------------------------------------------------------------
1 | *.prof
2 | *.test
3 | *.swp
4 | /bin/
5 |
--------------------------------------------------------------------------------
/vendor/github.com/boltdb/bolt/Makefile:
--------------------------------------------------------------------------------
1 | BRANCH=`git rev-parse --abbrev-ref HEAD`
2 | COMMIT=`git rev-parse --short HEAD`
3 | GOLDFLAGS="-X main.branch $(BRANCH) -X main.commit $(COMMIT)"
4 |
5 | default: build
6 |
7 | race:
8 | @go test -v -race -test.run="TestSimulate_(100op|1000op)"
9 |
10 | # go get github.com/kisielk/errcheck
11 | errcheck:
12 | @errcheck -ignorepkg=bytes -ignore=os:Remove github.com/boltdb/bolt
13 |
14 | test:
15 | @go test -v -cover .
16 | @go test -v ./cmd/bolt
17 |
18 | .PHONY: fmt test
19 |
--------------------------------------------------------------------------------
/vendor/github.com/boltdb/bolt/appveyor.yml:
--------------------------------------------------------------------------------
1 | version: "{build}"
2 |
3 | os: Windows Server 2012 R2
4 |
5 | clone_folder: c:\gopath\src\github.com\boltdb\bolt
6 |
7 | environment:
8 | GOPATH: c:\gopath
9 |
10 | install:
11 | - echo %PATH%
12 | - echo %GOPATH%
13 | - go version
14 | - go env
15 | - go get -v -t ./...
16 |
17 | build_script:
18 | - go test -v ./...
19 |
--------------------------------------------------------------------------------
/vendor/github.com/boltdb/bolt/bolt_386.go:
--------------------------------------------------------------------------------
1 | package bolt
2 |
3 | // maxMapSize represents the largest mmap size supported by Bolt.
4 | const maxMapSize = 0x7FFFFFFF // 2GB
5 |
6 | // maxAllocSize is the size used when creating array pointers.
7 | const maxAllocSize = 0xFFFFFFF
8 |
9 | // Are unaligned load/stores broken on this arch?
10 | var brokenUnaligned = false
11 |
--------------------------------------------------------------------------------
/vendor/github.com/boltdb/bolt/bolt_amd64.go:
--------------------------------------------------------------------------------
1 | package bolt
2 |
3 | // maxMapSize represents the largest mmap size supported by Bolt.
4 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB
5 |
6 | // maxAllocSize is the size used when creating array pointers.
7 | const maxAllocSize = 0x7FFFFFFF
8 |
9 | // Are unaligned load/stores broken on this arch?
10 | var brokenUnaligned = false
11 |
--------------------------------------------------------------------------------
/vendor/github.com/boltdb/bolt/bolt_arm64.go:
--------------------------------------------------------------------------------
1 | // +build arm64
2 |
3 | package bolt
4 |
5 | // maxMapSize represents the largest mmap size supported by Bolt.
6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB
7 |
8 | // maxAllocSize is the size used when creating array pointers.
9 | const maxAllocSize = 0x7FFFFFFF
10 |
11 | // Are unaligned load/stores broken on this arch?
12 | var brokenUnaligned = false
13 |
--------------------------------------------------------------------------------
/vendor/github.com/boltdb/bolt/bolt_linux.go:
--------------------------------------------------------------------------------
1 | package bolt
2 |
3 | import (
4 | "syscall"
5 | )
6 |
7 | // fdatasync flushes written data to a file descriptor.
8 | func fdatasync(db *DB) error {
9 | return syscall.Fdatasync(int(db.file.Fd()))
10 | }
11 |
--------------------------------------------------------------------------------
/vendor/github.com/boltdb/bolt/bolt_openbsd.go:
--------------------------------------------------------------------------------
1 | package bolt
2 |
3 | import (
4 | "syscall"
5 | "unsafe"
6 | )
7 |
8 | const (
9 | msAsync = 1 << iota // perform asynchronous writes
10 | msSync // perform synchronous writes
11 | msInvalidate // invalidate cached data
12 | )
13 |
14 | func msync(db *DB) error {
15 | _, _, errno := syscall.Syscall(syscall.SYS_MSYNC, uintptr(unsafe.Pointer(db.data)), uintptr(db.datasz), msInvalidate)
16 | if errno != 0 {
17 | return errno
18 | }
19 | return nil
20 | }
21 |
22 | func fdatasync(db *DB) error {
23 | if db.data != nil {
24 | return msync(db)
25 | }
26 | return db.file.Sync()
27 | }
28 |
--------------------------------------------------------------------------------
/vendor/github.com/boltdb/bolt/bolt_ppc.go:
--------------------------------------------------------------------------------
1 | // +build ppc
2 |
3 | package bolt
4 |
5 | // maxMapSize represents the largest mmap size supported by Bolt.
6 | const maxMapSize = 0x7FFFFFFF // 2GB
7 |
8 | // maxAllocSize is the size used when creating array pointers.
9 | const maxAllocSize = 0xFFFFFFF
10 |
--------------------------------------------------------------------------------
/vendor/github.com/boltdb/bolt/bolt_ppc64.go:
--------------------------------------------------------------------------------
1 | // +build ppc64
2 |
3 | package bolt
4 |
5 | // maxMapSize represents the largest mmap size supported by Bolt.
6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB
7 |
8 | // maxAllocSize is the size used when creating array pointers.
9 | const maxAllocSize = 0x7FFFFFFF
10 |
11 | // Are unaligned load/stores broken on this arch?
12 | var brokenUnaligned = false
13 |
--------------------------------------------------------------------------------
/vendor/github.com/boltdb/bolt/bolt_ppc64le.go:
--------------------------------------------------------------------------------
1 | // +build ppc64le
2 |
3 | package bolt
4 |
5 | // maxMapSize represents the largest mmap size supported by Bolt.
6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB
7 |
8 | // maxAllocSize is the size used when creating array pointers.
9 | const maxAllocSize = 0x7FFFFFFF
10 |
11 | // Are unaligned load/stores broken on this arch?
12 | var brokenUnaligned = false
13 |
--------------------------------------------------------------------------------
/vendor/github.com/boltdb/bolt/bolt_s390x.go:
--------------------------------------------------------------------------------
1 | // +build s390x
2 |
3 | package bolt
4 |
5 | // maxMapSize represents the largest mmap size supported by Bolt.
6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB
7 |
8 | // maxAllocSize is the size used when creating array pointers.
9 | const maxAllocSize = 0x7FFFFFFF
10 |
11 | // Are unaligned load/stores broken on this arch?
12 | var brokenUnaligned = false
13 |
--------------------------------------------------------------------------------
/vendor/github.com/boltdb/bolt/boltsync_unix.go:
--------------------------------------------------------------------------------
1 | // +build !windows,!plan9,!linux,!openbsd
2 |
3 | package bolt
4 |
5 | // fdatasync flushes written data to a file descriptor.
6 | func fdatasync(db *DB) error {
7 | return db.file.Sync()
8 | }
9 |
--------------------------------------------------------------------------------
/vendor/github.com/davecgh/go-spew/.gitignore:
--------------------------------------------------------------------------------
1 | # Compiled Object files, Static and Dynamic libs (Shared Objects)
2 | *.o
3 | *.a
4 | *.so
5 |
6 | # Folders
7 | _obj
8 | _test
9 |
10 | # Architecture specific extensions/prefixes
11 | *.[568vq]
12 | [568vq].out
13 |
14 | *.cgo1.go
15 | *.cgo2.c
16 | _cgo_defun.c
17 | _cgo_gotypes.go
18 | _cgo_export.*
19 |
20 | _testmain.go
21 |
22 | *.exe
23 |
--------------------------------------------------------------------------------
/vendor/github.com/davecgh/go-spew/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 | go:
3 | - 1.5.4
4 | - 1.6.3
5 | - 1.7
6 | install:
7 | - go get -v golang.org/x/tools/cmd/cover
8 | script:
9 | - go test -v -tags=safe ./spew
10 | - go test -v -tags=testcgo ./spew -covermode=count -coverprofile=profile.cov
11 | after_success:
12 | - go get -v github.com/mattn/goveralls
13 | - export PATH=$PATH:$HOME/gopath/bin
14 | - goveralls -coverprofile=profile.cov -service=travis-ci
15 |
--------------------------------------------------------------------------------
/vendor/github.com/davecgh/go-spew/LICENSE:
--------------------------------------------------------------------------------
1 | ISC License
2 |
3 | Copyright (c) 2012-2016 Dave Collins
4 |
5 | Permission to use, copy, modify, and distribute this software for any
6 | purpose with or without fee is hereby granted, provided that the above
7 | copyright notice and this permission notice appear in all copies.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 |
--------------------------------------------------------------------------------
/vendor/github.com/davecgh/go-spew/cov_report.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | # This script uses gocov to generate a test coverage report.
4 | # The gocov tool my be obtained with the following command:
5 | # go get github.com/axw/gocov/gocov
6 | #
7 | # It will be installed to $GOPATH/bin, so ensure that location is in your $PATH.
8 |
9 | # Check for gocov.
10 | if ! type gocov >/dev/null 2>&1; then
11 | echo >&2 "This script requires the gocov tool."
12 | echo >&2 "You may obtain it with the following command:"
13 | echo >&2 "go get github.com/axw/gocov/gocov"
14 | exit 1
15 | fi
16 |
17 | # Only run the cgo tests if gcc is installed.
18 | if type gcc >/dev/null 2>&1; then
19 | (cd spew && gocov test -tags testcgo | gocov report)
20 | else
21 | (cd spew && gocov test | gocov report)
22 | fi
23 |
--------------------------------------------------------------------------------
/vendor/github.com/garyburd/redigo/.github/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Ask questions at
2 | [StackOverflow](https://stackoverflow.com/questions/ask?tags=go+redis).
3 |
4 | [Open an issue](https://github.com/garyburd/redigo/issues/new) to discuss your
5 | plans before doing any work on Redigo.
6 |
--------------------------------------------------------------------------------
/vendor/github.com/garyburd/redigo/.github/ISSUE_TEMPLATE.md:
--------------------------------------------------------------------------------
1 | Ask questions at https://stackoverflow.com/questions/ask?tags=go+redis
2 |
--------------------------------------------------------------------------------
/vendor/github.com/garyburd/redigo/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 | sudo: false
3 | services:
4 | - redis-server
5 |
6 | go:
7 | - 1.4
8 | - 1.5
9 | - 1.6
10 | - 1.7
11 | - 1.8
12 | - tip
13 |
14 | script:
15 | - go get -t -v ./...
16 | - diff -u <(echo -n) <(gofmt -d .)
17 | - go vet $(go list ./... | grep -v /vendor/)
18 | - go test -v -race ./...
19 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-contrib/sse/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 | sudo: false
3 | go:
4 | - 1.6.4
5 | - 1.7.4
6 | - tip
7 |
8 | git:
9 | depth: 3
10 |
11 | script:
12 | - go test -v -covermode=count -coverprofile=coverage.out
13 |
14 | after_success:
15 | - bash <(curl -s https://codecov.io/bash)
--------------------------------------------------------------------------------
/vendor/github.com/gin-contrib/sse/writer.go:
--------------------------------------------------------------------------------
1 | package sse
2 |
3 | import "io"
4 |
5 | type stringWriter interface {
6 | io.Writer
7 | WriteString(string) (int, error)
8 | }
9 |
10 | type stringWrapper struct {
11 | io.Writer
12 | }
13 |
14 | func (w stringWrapper) WriteString(str string) (int, error) {
15 | return w.Writer.Write([]byte(str))
16 | }
17 |
18 | func checkWriter(writer io.Writer) stringWriter {
19 | if w, ok := writer.(stringWriter); ok {
20 | return w
21 | } else {
22 | return stringWrapper{writer}
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/.gitignore:
--------------------------------------------------------------------------------
1 | */Godeps/*
2 | !*/Godeps/Godeps.json
3 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 | go:
3 | - 1.6.x
4 | - 1.7.x
5 | - 1.8.x
6 | - tip
7 |
8 | services:
9 | - memcache
10 | - redis-server
11 |
12 | notifications:
13 | webhooks:
14 | urls:
15 | - https://webhooks.gitter.im/e/acc2c57482e94b44f557
16 | on_success: change
17 | on_failure: always
18 | on_start: false
19 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/cache/Godeps/Godeps.json:
--------------------------------------------------------------------------------
1 | {
2 | "ImportPath": "github.com/gin-gonic/contrib/cache",
3 | "GoVersion": "go1.3",
4 | "Deps": [
5 | {
6 | "ImportPath": "github.com/bradfitz/gomemcache/memcache",
7 | "Rev": "72a68649ba712ee7c4b5b4a943a626bcd7d90eb8"
8 | },
9 | {
10 | "ImportPath": "github.com/garyburd/redigo/redis",
11 | "Rev": "535138d7bcd717d6531c701ef5933d98b1866257"
12 | },
13 | {
14 | "ImportPath": "github.com/gin-gonic/gin",
15 | "Rev": "ac0ad2fed865d40a0adc1ac3ccaadc3acff5db4b"
16 | },
17 | {
18 | "ImportPath": "github.com/robfig/go-cache",
19 | "Rev": "9fc39e0dbf62c034ec4e45e6120fc69433a3ec51"
20 | }
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/cache/README.md:
--------------------------------------------------------------------------------
1 | # cache
2 |
3 | ## EOL-warning
4 |
5 | **This package has been abandoned on 2016-12-07. Please use [gin-contrib/cache](https://github.com/gin-contrib/cache) instead.**
6 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/cache/example/example.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "fmt"
5 | "github.com/gin-gonic/contrib/cache"
6 | "github.com/gin-gonic/gin"
7 | "time"
8 | )
9 |
10 | func main() {
11 | r := gin.Default()
12 |
13 | store := cache.NewInMemoryStore(time.Second)
14 | // Cached Page
15 | r.GET("/ping", func(c *gin.Context) {
16 | c.String(200, "pong "+fmt.Sprint(time.Now().Unix()))
17 | })
18 |
19 | r.GET("/cache_ping", cache.CachePage(store, time.Minute, func(c *gin.Context) {
20 | c.String(200, "pong "+fmt.Sprint(time.Now().Unix()))
21 | }))
22 |
23 | // Listen and Server in 0.0.0.0:8080
24 | r.Run(":8080")
25 | }
26 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/cors/README.md:
--------------------------------------------------------------------------------
1 | # cors
2 |
3 | ## EOL-warning
4 |
5 | **This package has been abandoned on 2016-12-07. Please use [gin-contrib/cors](https://github.com/gin-contrib/cors) instead.**
6 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/expvar/expvar.go:
--------------------------------------------------------------------------------
1 | package expvar
2 |
3 | import (
4 | "expvar"
5 | "fmt"
6 |
7 | "github.com/gin-gonic/gin"
8 | )
9 |
10 | func Handler() gin.HandlerFunc {
11 | return func(c *gin.Context) {
12 | w := c.Writer
13 | c.Header("Content-Type", "application/json; charset=utf-8")
14 | w.Write([]byte("{\n"))
15 | first := true
16 | expvar.Do(func(kv expvar.KeyValue) {
17 | if !first {
18 | w.Write([]byte(",\n"))
19 | }
20 | first = false
21 | fmt.Fprintf(w, "%q: %s", kv.Key, kv.Value)
22 | })
23 | w.Write([]byte("\n}\n"))
24 | c.AbortWithStatus(200)
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/ginrus/Godeps/Godeps.json:
--------------------------------------------------------------------------------
1 | {
2 | "ImportPath": "github.com/gin-gonic/contrib/ginrus",
3 | "GoVersion": "go1.3",
4 | "Deps": [
5 | {
6 | "ImportPath": "github.com/gin-gonic/gin",
7 | "Rev": "ac0ad2fed865d40a0adc1ac3ccaadc3acff5db4b"
8 | }
9 | ]
10 | }
11 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/gzip/Godeps/Godeps.json:
--------------------------------------------------------------------------------
1 | {
2 | "ImportPath": "github.com/gin-gonic/contrib/gzip",
3 | "GoVersion": "go1.3",
4 | "Deps": [
5 | {
6 | "ImportPath": "github.com/gin-gonic/gin",
7 | "Rev": "ac0ad2fed865d40a0adc1ac3ccaadc3acff5db4b"
8 | }
9 | ]
10 | }
11 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/gzip/README.md:
--------------------------------------------------------------------------------
1 | # gzip
2 |
3 | ## EOL-warning
4 |
5 | **This package has been abandoned on 2016-12-07. Please use [gin-contrib/gzip](https://github.com/gin-contrib/gzip) instead.**
6 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/gzip/example/example.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "fmt"
5 | "github.com/gin-gonic/contrib/gzip"
6 | "github.com/gin-gonic/gin"
7 | "time"
8 | )
9 |
10 | func main() {
11 | r := gin.Default()
12 | r.Use(gzip.Gzip(gzip.DefaultCompression))
13 | r.GET("/ping", func(c *gin.Context) {
14 | c.String(200, "pong "+fmt.Sprint(time.Now().Unix()))
15 | })
16 |
17 | // Listen and Server in 0.0.0.0:8080
18 | r.Run(":8080")
19 | }
20 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/jwt/Godeps/Godeps.json:
--------------------------------------------------------------------------------
1 | {
2 | "ImportPath": "github.com/gin-gonic/contrib/jwt",
3 | "GoVersion": "go1.3",
4 | "Deps": [
5 | {
6 | "ImportPath": "github.com/dgrijalva/jwt-go",
7 | "Rev": "5ca80149b9d3f8b863af0e2bb6742e608603bd99"
8 | },
9 | {
10 | "ImportPath": "github.com/gin-gonic/gin",
11 | "Rev": "ac0ad2fed865d40a0adc1ac3ccaadc3acff5db4b"
12 | },
13 | {
14 | "ImportPath": "github.com/jacobsa/oglematchers",
15 | "Rev": "3ecefc49db07722beca986d9bb71ddd026b133f0"
16 | },
17 | {
18 | "ImportPath": "github.com/smartystreets/goconvey/convey",
19 | "Rev": "958443eebb772fc6c1dcc2a44cdc6a59e1b3ff0d"
20 | }
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/jwt/jwt.go:
--------------------------------------------------------------------------------
1 | package jwt
2 |
3 | import (
4 | jwt_lib "github.com/dgrijalva/jwt-go"
5 | "github.com/dgrijalva/jwt-go/request"
6 | "github.com/gin-gonic/gin"
7 | )
8 |
9 | func Auth(secret string) gin.HandlerFunc {
10 | return func(c *gin.Context) {
11 | _, err := request.ParseFromRequest(c.Request, request.OAuth2Extractor, func(token *jwt_lib.Token) (interface{}, error) {
12 | b := ([]byte(secret))
13 | return b, nil
14 | })
15 |
16 | if err != nil {
17 | c.AbortWithError(401, err)
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/newrelic/newrelic.go:
--------------------------------------------------------------------------------
1 | package newrelic
2 |
3 | import (
4 | "time"
5 |
6 | "github.com/gin-gonic/gin"
7 | metrics "github.com/yvasiyarov/go-metrics"
8 | "github.com/yvasiyarov/gorelic"
9 | )
10 |
11 | var agent *gorelic.Agent
12 |
13 | func NewRelic(license string, appname string, verbose bool) gin.HandlerFunc {
14 | agent = gorelic.NewAgent()
15 | agent.NewrelicLicense = license
16 |
17 | agent.HTTPTimer = metrics.NewTimer()
18 | agent.CollectHTTPStat = true
19 | agent.Verbose = verbose
20 |
21 | agent.NewrelicName = appname
22 | agent.Run()
23 |
24 | return func(c *gin.Context) {
25 | startTime := time.Now()
26 | c.Next()
27 | agent.HTTPTimer.UpdateSince(startTime)
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/secure/Godeps/Godeps.json:
--------------------------------------------------------------------------------
1 | {
2 | "ImportPath": "github.com/gin-gonic/contrib/secure",
3 | "GoVersion": "go1.3",
4 | "Deps": [
5 | {
6 | "ImportPath": "github.com/gin-gonic/gin",
7 | "Rev": "ac0ad2fed865d40a0adc1ac3ccaadc3acff5db4b"
8 | }
9 | ]
10 | }
11 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/sentry/README.md:
--------------------------------------------------------------------------------
1 | # sentry
2 |
3 | Middleware to integrate with [sentry](https://getsentry.com/) crash reporting. Middleware version of `raven.RecoveryHandler()`.
4 |
5 | ## EOL-warning
6 |
7 | **This package has been abandoned on 2017-01-13. Please use [gin-contrib/sentry](https://github.com/gin-contrib/sentry) instead.**
8 |
9 | ## Example
10 | ```go
11 | package main
12 |
13 | import (
14 | "github.com/getsentry/raven-go"
15 | "github.com/gin-gonic/contrib/sentry"
16 | "github.com/gin-gonic/gin"
17 | )
18 |
19 | func init() {
20 | raven.SetDSN("https://:@app.getsentry.com/")
21 | }
22 |
23 | func main() {
24 | r := gin.Default()
25 | r.Use(sentry.Recovery(raven.DefaultClient, false))
26 | // ...
27 | r.Run(":8080")
28 | }
29 | ```
30 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/sessions/Godeps/Godeps.json:
--------------------------------------------------------------------------------
1 | {
2 | "ImportPath": "github.com/gin-gonic/contrib/sessions",
3 | "GoVersion": "go1.3",
4 | "Deps": [
5 | {
6 | "ImportPath": "github.com/boj/redistore",
7 | "Rev": "0cd55584b172cefd31c4cb84e2904585d898c7b2"
8 | },
9 | {
10 | "ImportPath": "github.com/gin-gonic/gin",
11 | "Rev": "ac0ad2fed865d40a0adc1ac3ccaadc3acff5db4b"
12 | },
13 | {
14 | "ImportPath": "github.com/gorilla/sessions",
15 | "Rev": "f61c3ec2cf65d69e7efedfd4d060fe128882c951"
16 | }
17 | ]
18 | }
19 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/sessions/cookie_test.go:
--------------------------------------------------------------------------------
1 | package sessions
2 |
3 | import (
4 | "testing"
5 | )
6 |
7 | var newCookieStore = func(_ *testing.T) Store {
8 | store := NewCookieStore([]byte("secret"))
9 | return store
10 | }
11 |
12 | func TestCookie_SessionGetSet(t *testing.T) {
13 | sessionGetSet(t, newCookieStore)
14 | }
15 |
16 | func TestCookie_SessionDeleteKey(t *testing.T) {
17 | sessionDeleteKey(t, newCookieStore)
18 | }
19 |
20 | func TestCookie_SessionFlashes(t *testing.T) {
21 | sessionFlashes(t, newCookieStore)
22 | }
23 |
24 | func TestCookie_SessionClear(t *testing.T) {
25 | sessionClear(t, newCookieStore)
26 | }
27 |
28 | func TestCookie_SessionOptions(t *testing.T) {
29 | sessionOptions(t, newCookieStore)
30 | }
31 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/sessions/example_cookie/main.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "github.com/gin-gonic/contrib/sessions"
5 | "github.com/gin-gonic/gin"
6 | )
7 |
8 | func main() {
9 | r := gin.Default()
10 | store := sessions.NewCookieStore([]byte("secret"))
11 | r.Use(sessions.Sessions("mysession", store))
12 |
13 | r.GET("/incr", func(c *gin.Context) {
14 | session := sessions.Default(c)
15 | var count int
16 | v := session.Get("count")
17 | if v == nil {
18 | count = 0
19 | } else {
20 | count = v.(int)
21 | count += 1
22 | }
23 | session.Set("count", count)
24 | session.Save()
25 | c.JSON(200, gin.H{"count": count})
26 | })
27 | r.Run(":8000")
28 | }
29 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/sessions/example_redis/main.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "github.com/gin-gonic/contrib/sessions"
5 | "github.com/gin-gonic/gin"
6 | )
7 |
8 | func main() {
9 | r := gin.Default()
10 | store, _ := sessions.NewRedisStore(10, "tcp", "localhost:6379", "", []byte("secret"))
11 | r.Use(sessions.Sessions("mysession", store))
12 |
13 | r.GET("/incr", func(c *gin.Context) {
14 | session := sessions.Default(c)
15 | var count int
16 | v := session.Get("count")
17 | if v == nil {
18 | count = 0
19 | } else {
20 | count = v.(int)
21 | count += 1
22 | }
23 | session.Set("count", count)
24 | session.Save()
25 | c.JSON(200, gin.H{"count": count})
26 | })
27 | r.Run(":8000")
28 | }
29 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/static/README.md:
--------------------------------------------------------------------------------
1 | # static
2 |
3 | ## EOL-warning
4 |
5 | **This package has been abandoned on 2016-12-13. Please use [gin-contrib/static](https://github.com/gin-contrib/static) instead.**
6 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/static/example/bindata/data/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | go-bindata
6 |
7 |
8 | Hello Gin go-bindata middleware
9 |
10 |
11 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/contrib/static/example/simple/example.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "github.com/gin-gonic/contrib/static"
5 | "github.com/gin-gonic/gin"
6 | )
7 |
8 | func main() {
9 | r := gin.Default()
10 |
11 | // if Allow DirectoryIndex
12 | //r.Use(static.Serve("/", static.LocalFile("/tmp", true)))
13 | // set prefix
14 | //r.Use(static.Serve("/static", static.LocalFile("/tmp", true)))
15 |
16 | r.Use(static.Serve("/", static.LocalFile("/tmp", false)))
17 | r.GET("/ping", func(c *gin.Context) {
18 | c.String(200, "test")
19 | })
20 | // Listen and Server in 0.0.0.0:8080
21 | r.Run(":8080")
22 | }
23 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/.gitignore:
--------------------------------------------------------------------------------
1 | vendor/*
2 | !vendor/vendor.json
3 | coverage.out
4 | count.out
5 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 | sudo: false
3 | go:
4 | - 1.6.x
5 | - 1.7.x
6 | - 1.8.x
7 | - master
8 |
9 | git:
10 | depth: 3
11 |
12 | install:
13 | - make install
14 |
15 | script:
16 | - make vet
17 | - make fmt-check
18 | - make embedmd
19 | - make misspell-check
20 | - make test
21 |
22 | after_success:
23 | - bash <(curl -s https://codecov.io/bash)
24 |
25 | notifications:
26 | webhooks:
27 | urls:
28 | - https://webhooks.gitter.im/e/7f95bf605c4d356372f4
29 | on_success: change # options: [always|never|change] default: always
30 | on_failure: always # options: [always|never|change] default: always
31 | on_start: false # default: false
32 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/binding/example/test.proto:
--------------------------------------------------------------------------------
1 | package example;
2 |
3 | enum FOO {X=17;};
4 |
5 | message Test {
6 | required string label = 1;
7 | optional int32 type = 2[default=77];
8 | repeated int64 reps = 3;
9 | optional group OptionalGroup = 4{
10 | required string RequiredField = 5;
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/binding/json.go:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
2 | // Use of this source code is governed by a MIT style
3 | // license that can be found in the LICENSE file.
4 |
5 | package binding
6 |
7 | import (
8 | "encoding/json"
9 | "net/http"
10 | )
11 |
12 | type jsonBinding struct{}
13 |
14 | func (jsonBinding) Name() string {
15 | return "json"
16 | }
17 |
18 | func (jsonBinding) Bind(req *http.Request, obj interface{}) error {
19 | decoder := json.NewDecoder(req.Body)
20 | if err := decoder.Decode(obj); err != nil {
21 | return err
22 | }
23 | return validate(obj)
24 | }
25 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/binding/msgpack.go:
--------------------------------------------------------------------------------
1 | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
2 | // Use of this source code is governed by a MIT style
3 | // license that can be found in the LICENSE file.
4 |
5 | package binding
6 |
7 | import (
8 | "net/http"
9 |
10 | "github.com/ugorji/go/codec"
11 | )
12 |
13 | type msgpackBinding struct{}
14 |
15 | func (msgpackBinding) Name() string {
16 | return "msgpack"
17 | }
18 |
19 | func (msgpackBinding) Bind(req *http.Request, obj interface{}) error {
20 |
21 | if err := codec.NewDecoder(req.Body, new(codec.MsgpackHandle)).Decode(&obj); err != nil {
22 | //var decoder *codec.Decoder = codec.NewDecoder(req.Body, &codec.MsgpackHandle)
23 | //if err := decoder.Decode(&obj); err != nil {
24 | return err
25 | }
26 | return validate(obj)
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/binding/xml.go:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
2 | // Use of this source code is governed by a MIT style
3 | // license that can be found in the LICENSE file.
4 |
5 | package binding
6 |
7 | import (
8 | "encoding/xml"
9 | "net/http"
10 | )
11 |
12 | type xmlBinding struct{}
13 |
14 | func (xmlBinding) Name() string {
15 | return "xml"
16 | }
17 |
18 | func (xmlBinding) Bind(req *http.Request, obj interface{}) error {
19 | decoder := xml.NewDecoder(req.Body)
20 | if err := decoder.Decode(obj); err != nil {
21 | return err
22 | }
23 | return validate(obj)
24 | }
25 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/codecov.yml:
--------------------------------------------------------------------------------
1 | coverage:
2 | notify:
3 | gitter:
4 | default:
5 | url: https://webhooks.gitter.im/e/d90dcdeeab2f1e357165
6 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/context_appengine.go:
--------------------------------------------------------------------------------
1 | // +build appengine
2 |
3 | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
4 | // Use of this source code is governed by a MIT style
5 | // license that can be found in the LICENSE file.
6 |
7 | package gin
8 |
9 | func init() {
10 | defaultAppEngine = true
11 | }
12 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/examples/app-engine/README.md:
--------------------------------------------------------------------------------
1 | # Guide to run Gin under App Engine LOCAL Development Server
2 |
3 | 1. Download, install and setup Go in your computer. (That includes setting your `$GOPATH`.)
4 | 2. Download SDK for your platform from here: `https://developers.google.com/appengine/downloads?hl=es#Google_App_Engine_SDK_for_Go`
5 | 3. Download Gin source code using: `$ go get github.com/gin-gonic/gin`
6 | 4. Navigate to examples folder: `$ cd $GOPATH/src/github.com/gin-gonic/gin/examples/`
7 | 5. Run it: `$ goapp serve app-engine/`
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/examples/app-engine/app.yaml:
--------------------------------------------------------------------------------
1 | application: hello
2 | version: 1
3 | runtime: go
4 | api_version: go1
5 |
6 | handlers:
7 | - url: /.*
8 | script: _go_app
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/examples/app-engine/hello.go:
--------------------------------------------------------------------------------
1 | package hello
2 |
3 | import (
4 | "net/http"
5 |
6 | "github.com/gin-gonic/gin"
7 | )
8 |
9 | // This function's name is a must. App Engine uses it to drive the requests properly.
10 | func init() {
11 | // Starts a new Gin instance with no middle-ware
12 | r := gin.New()
13 |
14 | // Define your handlers
15 | r.GET("/", func(c *gin.Context) {
16 | c.String(200, "Hello World!")
17 | })
18 | r.GET("/ping", func(c *gin.Context) {
19 | c.String(200, "pong")
20 | })
21 |
22 | // Handle all requests using net/http
23 | http.Handle("/", r)
24 | }
25 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/examples/auto-tls/example1.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "log"
5 |
6 | "github.com/gin-gonic/autotls"
7 | "github.com/gin-gonic/gin"
8 | )
9 |
10 | func main() {
11 | r := gin.Default()
12 |
13 | // Ping handler
14 | r.GET("/ping", func(c *gin.Context) {
15 | c.String(200, "pong")
16 | })
17 |
18 | log.Fatal(autotls.Run(r, "example1.com", "example2.com"))
19 | }
20 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/examples/auto-tls/example2.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "log"
5 |
6 | "github.com/gin-gonic/autotls"
7 | "github.com/gin-gonic/gin"
8 | "golang.org/x/crypto/acme/autocert"
9 | )
10 |
11 | func main() {
12 | r := gin.Default()
13 |
14 | // Ping handler
15 | r.GET("/ping", func(c *gin.Context) {
16 | c.String(200, "pong")
17 | })
18 |
19 | m := autocert.Manager{
20 | Prompt: autocert.AcceptTOS,
21 | HostPolicy: autocert.HostWhitelist("example1.com", "example2.com"),
22 | Cache: autocert.DirCache("/var/www/.cache"),
23 | }
24 |
25 | log.Fatal(autotls.RunWithManager(r, m))
26 | }
27 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/examples/realtime-advanced/Makefile:
--------------------------------------------------------------------------------
1 | all: deps build
2 |
3 | .PHONY: deps
4 | deps:
5 | go get -d -v github.com/dustin/go-broadcast/...
6 | go get -d -v github.com/manucorporat/stats/...
7 |
8 | .PHONY: build
9 | build: deps
10 | go build -o realtime-advanced main.go rooms.go routes.go stats.go
11 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/examples/realtime-advanced/rooms.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import "github.com/dustin/go-broadcast"
4 |
5 | var roomChannels = make(map[string]broadcast.Broadcaster)
6 |
7 | func openListener(roomid string) chan interface{} {
8 | listener := make(chan interface{})
9 | room(roomid).Register(listener)
10 | return listener
11 | }
12 |
13 | func closeListener(roomid string, listener chan interface{}) {
14 | room(roomid).Unregister(listener)
15 | close(listener)
16 | }
17 |
18 | func room(roomid string) broadcast.Broadcaster {
19 | b, ok := roomChannels[roomid]
20 | if !ok {
21 | b = broadcast.NewBroadcaster(10)
22 | roomChannels[roomid] = b
23 | }
24 | return b
25 | }
26 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/examples/realtime-chat/Makefile:
--------------------------------------------------------------------------------
1 | all: deps build
2 |
3 | .PHONY: deps
4 | deps:
5 | go get -d -v github.com/dustin/go-broadcast/...
6 |
7 | .PHONY: build
8 | build: deps
9 | go build -o realtime-chat main.go rooms.go template.go
10 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/examples/upload-file/multiple/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Multiple file upload
6 |
7 |
8 | Upload multiple files with fields
9 |
10 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/examples/upload-file/single/main.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import (
4 | "fmt"
5 | "io"
6 | "net/http"
7 | "os"
8 |
9 | "github.com/gin-gonic/gin"
10 | )
11 |
12 | func main() {
13 | router := gin.Default()
14 | router.Static("/", "./public")
15 | router.POST("/upload", func(c *gin.Context) {
16 | name := c.PostForm("name")
17 | email := c.PostForm("email")
18 |
19 | // Source
20 | file, _ := c.FormFile("file")
21 | src, _ := file.Open()
22 | defer src.Close()
23 |
24 | // Destination
25 | dst, _ := os.Create(file.Filename)
26 | defer dst.Close()
27 |
28 | // Copy
29 | io.Copy(dst, src)
30 |
31 | c.String(http.StatusOK, fmt.Sprintf("File %s uploaded successfully with fields name=%s and email=%s.", file.Filename, name, email))
32 | })
33 | router.Run(":8080")
34 | }
35 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/examples/upload-file/single/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Single file upload
6 |
7 |
8 | Upload single file with fields
9 |
10 |
16 |
17 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/fixtures/basic/hello.tmpl:
--------------------------------------------------------------------------------
1 | Hello {[{.name}]}
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/fixtures/basic/raw.tmpl:
--------------------------------------------------------------------------------
1 | Date: {[{.now | formatAsDate}]}
2 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/ginS/README.md:
--------------------------------------------------------------------------------
1 | # Gin Default Server
2 |
3 | This is API experiment for Gin.
4 |
5 | ```go
6 | package main
7 |
8 | import (
9 | "github.com/gin-gonic/gin"
10 | "github.com/gin-gonic/gin/ginS"
11 | )
12 |
13 | func main() {
14 | ginS.GET("/", func(c *gin.Context) { c.String(200, "Hello World") })
15 | ginS.Run()
16 | }
17 | ```
18 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/logo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/vendor/github.com/gin-gonic/gin/logo.jpg
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/mode_test.go:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
2 | // Use of this source code is governed by a MIT style
3 | // license that can be found in the LICENSE file.
4 |
5 | package gin
6 |
7 | import (
8 | "testing"
9 |
10 | "github.com/stretchr/testify/assert"
11 | )
12 |
13 | func init() {
14 | SetMode(TestMode)
15 | }
16 |
17 | func TestSetMode(t *testing.T) {
18 | SetMode(DebugMode)
19 | assert.Equal(t, ginMode, debugCode)
20 | assert.Equal(t, Mode(), DebugMode)
21 |
22 | SetMode(ReleaseMode)
23 | assert.Equal(t, ginMode, releaseCode)
24 | assert.Equal(t, Mode(), ReleaseMode)
25 |
26 | SetMode(TestMode)
27 | assert.Equal(t, ginMode, testCode)
28 | assert.Equal(t, Mode(), TestMode)
29 |
30 | assert.Panics(t, func() { SetMode("unknown") })
31 | }
32 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/render/data.go:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
2 | // Use of this source code is governed by a MIT style
3 | // license that can be found in the LICENSE file.
4 |
5 | package render
6 |
7 | import "net/http"
8 |
9 | type Data struct {
10 | ContentType string
11 | Data []byte
12 | }
13 |
14 | // Render (Data) writes data with custom ContentType
15 | func (r Data) Render(w http.ResponseWriter) (err error) {
16 | r.WriteContentType(w)
17 | _, err = w.Write(r.Data)
18 | return
19 | }
20 |
21 | func (r Data) WriteContentType(w http.ResponseWriter) {
22 | writeContentType(w, []string{r.ContentType})
23 | }
24 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/render/redirect.go:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
2 | // Use of this source code is governed by a MIT style
3 | // license that can be found in the LICENSE file.
4 |
5 | package render
6 |
7 | import (
8 | "fmt"
9 | "net/http"
10 | )
11 |
12 | type Redirect struct {
13 | Code int
14 | Request *http.Request
15 | Location string
16 | }
17 |
18 | func (r Redirect) Render(w http.ResponseWriter) error {
19 | if (r.Code < 300 || r.Code > 308) && r.Code != 201 {
20 | panic(fmt.Sprintf("Cannot redirect with status code %d", r.Code))
21 | }
22 | http.Redirect(w, r.Request, r.Location, r.Code)
23 | return nil
24 | }
25 |
26 | func (r Redirect) WriteContentType(http.ResponseWriter) {}
27 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/render/xml.go:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
2 | // Use of this source code is governed by a MIT style
3 | // license that can be found in the LICENSE file.
4 |
5 | package render
6 |
7 | import (
8 | "encoding/xml"
9 | "net/http"
10 | )
11 |
12 | type XML struct {
13 | Data interface{}
14 | }
15 |
16 | var xmlContentType = []string{"application/xml; charset=utf-8"}
17 |
18 | func (r XML) Render(w http.ResponseWriter) error {
19 | r.WriteContentType(w)
20 | return xml.NewEncoder(w).Encode(r.Data)
21 | }
22 |
23 | func (r XML) WriteContentType(w http.ResponseWriter) {
24 | writeContentType(w, xmlContentType)
25 | }
26 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/render/yaml.go:
--------------------------------------------------------------------------------
1 | // Copyright 2014 Manu Martinez-Almeida. All rights reserved.
2 | // Use of this source code is governed by a MIT style
3 | // license that can be found in the LICENSE file.
4 |
5 | package render
6 |
7 | import (
8 | "net/http"
9 |
10 | "gopkg.in/yaml.v2"
11 | )
12 |
13 | type YAML struct {
14 | Data interface{}
15 | }
16 |
17 | var yamlContentType = []string{"application/x-yaml; charset=utf-8"}
18 |
19 | func (r YAML) Render(w http.ResponseWriter) error {
20 | r.WriteContentType(w)
21 |
22 | bytes, err := yaml.Marshal(r.Data)
23 | if err != nil {
24 | return err
25 | }
26 |
27 | w.Write(bytes)
28 | return nil
29 | }
30 |
31 | func (r YAML) WriteContentType(w http.ResponseWriter) {
32 | writeContentType(w, yamlContentType)
33 | }
34 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/test_helpers.go:
--------------------------------------------------------------------------------
1 | // Copyright 2017 Manu Martinez-Almeida. All rights reserved.
2 | // Use of this source code is governed by a MIT style
3 | // license that can be found in the LICENSE file.
4 |
5 | package gin
6 |
7 | import (
8 | "net/http"
9 | )
10 |
11 | func CreateTestContext(w http.ResponseWriter) (c *Context, r *Engine) {
12 | r = New()
13 | c = r.allocateContext()
14 | c.reset()
15 | c.writermem.reset(w)
16 | return
17 | }
18 |
--------------------------------------------------------------------------------
/vendor/github.com/gin-gonic/gin/wercker.yml:
--------------------------------------------------------------------------------
1 | box: wercker/default
--------------------------------------------------------------------------------
/vendor/github.com/golang/protobuf/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | *.[568ao]
3 | *.ao
4 | *.so
5 | *.pyc
6 | ._*
7 | .nfs.*
8 | [568a].out
9 | *~
10 | *.orig
11 | core
12 | _obj
13 | _test
14 | _testmain.go
15 | protoc-gen-go/testdata/multi/*.pb.go
16 | _conformance/_conformance
17 |
--------------------------------------------------------------------------------
/vendor/github.com/golang/protobuf/.travis.yml:
--------------------------------------------------------------------------------
1 | sudo: false
2 | language: go
3 | go:
4 | - 1.6.x
5 | - 1.7.x
6 | - 1.8.x
7 | - 1.9.x
8 |
9 | install:
10 | - go get -v -d -t github.com/golang/protobuf/...
11 | - curl -L https://github.com/google/protobuf/releases/download/v3.3.0/protoc-3.3.0-linux-x86_64.zip -o /tmp/protoc.zip
12 | - unzip /tmp/protoc.zip -d $HOME/protoc
13 |
14 | env:
15 | - PATH=$HOME/protoc/bin:$PATH
16 |
17 | script:
18 | - make all test
19 |
--------------------------------------------------------------------------------
/vendor/github.com/golang/protobuf/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/github.com/golang/protobuf/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/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: tip
11 |
12 | install:
13 | - go get golang.org/x/tools/cmd/vet
14 |
15 | script:
16 | - go get -t -v ./...
17 | - diff -u <(echo -n) <(gofmt -d .)
18 | - go tool vet .
19 | - go test -v -race ./...
20 |
--------------------------------------------------------------------------------
/vendor/github.com/gorilla/context/README.md:
--------------------------------------------------------------------------------
1 | context
2 | =======
3 | [](https://travis-ci.org/gorilla/context)
4 |
5 | gorilla/context is a general purpose registry for global request variables.
6 |
7 | Read the full documentation here: http://www.gorillatoolkit.org/pkg/context
8 |
--------------------------------------------------------------------------------
/vendor/github.com/gorilla/securecookie/.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: tip
11 | allow_failures:
12 | - go: tip
13 |
14 | script:
15 | - go get -t -v ./...
16 | - diff -u <(echo -n) <(gofmt -d .)
17 | - go vet $(go list ./... | grep -v /vendor/)
18 | - go test -v -race ./...
19 |
--------------------------------------------------------------------------------
/vendor/github.com/gorilla/securecookie/fuzz.go:
--------------------------------------------------------------------------------
1 | // +build gofuzz
2 |
3 | package securecookie
4 |
5 | var hashKey = []byte("very-secret12345")
6 | var blockKey = []byte("a-lot-secret1234")
7 | var s = New(hashKey, blockKey)
8 |
9 | type Cookie struct {
10 | B bool
11 | I int
12 | S string
13 | }
14 |
15 | func Fuzz(data []byte) int {
16 | datas := string(data)
17 | var c Cookie
18 | if err := s.Decode("fuzz", datas, &c); err != nil {
19 | return 0
20 | }
21 | if _, err := s.Encode("fuzz", c); err != nil {
22 | panic(err)
23 | }
24 | return 1
25 | }
26 |
--------------------------------------------------------------------------------
/vendor/github.com/gorilla/sessions/.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 | 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/mattn/go-isatty/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 | go:
3 | - tip
4 |
5 | before_install:
6 | - go get github.com/mattn/goveralls
7 | - go get golang.org/x/tools/cmd/cover
8 | script:
9 | - $HOME/gopath/bin/goveralls -repotoken 3gHdORO5k5ziZcWMBxnd9LrMZaJs8m9x5
10 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-isatty/doc.go:
--------------------------------------------------------------------------------
1 | // Package isatty implements interface to isatty
2 | package isatty
3 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-isatty/example_test.go:
--------------------------------------------------------------------------------
1 | package isatty_test
2 |
3 | import (
4 | "fmt"
5 | "os"
6 |
7 | "github.com/mattn/go-isatty"
8 | )
9 |
10 | func Example() {
11 | if isatty.IsTerminal(os.Stdout.Fd()) {
12 | fmt.Println("Is Terminal")
13 | } else if isatty.IsCygwinTerminal(os.Stdout.Fd()) {
14 | fmt.Println("Is Cygwin/MSYS2 Terminal")
15 | } else {
16 | fmt.Println("Is Not Terminal")
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-isatty/isatty_appengine.go:
--------------------------------------------------------------------------------
1 | // +build appengine
2 |
3 | package isatty
4 |
5 | // IsTerminal returns true if the file descriptor is terminal which
6 | // is always false on on appengine classic which is a sandboxed PaaS.
7 | func IsTerminal(fd uintptr) bool {
8 | return false
9 | }
10 |
11 | // IsCygwinTerminal() return true if the file descriptor is a cygwin or msys2
12 | // terminal. This is also always false on this environment.
13 | func IsCygwinTerminal(fd uintptr) bool {
14 | return false
15 | }
16 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-isatty/isatty_bsd.go:
--------------------------------------------------------------------------------
1 | // +build darwin freebsd openbsd netbsd dragonfly
2 | // +build !appengine
3 |
4 | package isatty
5 |
6 | import (
7 | "syscall"
8 | "unsafe"
9 | )
10 |
11 | const ioctlReadTermios = syscall.TIOCGETA
12 |
13 | // IsTerminal return true if the file descriptor is terminal.
14 | func IsTerminal(fd uintptr) bool {
15 | var termios syscall.Termios
16 | _, _, err := syscall.Syscall6(syscall.SYS_IOCTL, fd, ioctlReadTermios, uintptr(unsafe.Pointer(&termios)), 0, 0, 0)
17 | return err == 0
18 | }
19 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-isatty/isatty_linux.go:
--------------------------------------------------------------------------------
1 | // +build linux
2 | // +build !appengine,!ppc64,!ppc64le
3 |
4 | package isatty
5 |
6 | import (
7 | "syscall"
8 | "unsafe"
9 | )
10 |
11 | const ioctlReadTermios = syscall.TCGETS
12 |
13 | // IsTerminal return true if the file descriptor is terminal.
14 | func IsTerminal(fd uintptr) bool {
15 | var termios syscall.Termios
16 | _, _, err := syscall.Syscall6(syscall.SYS_IOCTL, fd, ioctlReadTermios, uintptr(unsafe.Pointer(&termios)), 0, 0, 0)
17 | return err == 0
18 | }
19 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-isatty/isatty_linux_ppc64x.go:
--------------------------------------------------------------------------------
1 | // +build linux
2 | // +build ppc64 ppc64le
3 |
4 | package isatty
5 |
6 | import (
7 | "unsafe"
8 |
9 | syscall "golang.org/x/sys/unix"
10 | )
11 |
12 | const ioctlReadTermios = syscall.TCGETS
13 |
14 | // IsTerminal return true if the file descriptor is terminal.
15 | func IsTerminal(fd uintptr) bool {
16 | var termios syscall.Termios
17 | _, _, err := syscall.Syscall6(syscall.SYS_IOCTL, fd, ioctlReadTermios, uintptr(unsafe.Pointer(&termios)), 0, 0, 0)
18 | return err == 0
19 | }
20 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-isatty/isatty_others.go:
--------------------------------------------------------------------------------
1 | // +build !windows
2 | // +build !appengine
3 |
4 | package isatty
5 |
6 | // IsCygwinTerminal() return true if the file descriptor is a cygwin or msys2
7 | // terminal. This is also always false on this environment.
8 | func IsCygwinTerminal(fd uintptr) bool {
9 | return false
10 | }
11 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-isatty/isatty_others_test.go:
--------------------------------------------------------------------------------
1 | // +build !windows
2 |
3 | package isatty
4 |
5 | import (
6 | "os"
7 | "testing"
8 | )
9 |
10 | func TestTerminal(t *testing.T) {
11 | // test for non-panic
12 | IsTerminal(os.Stdout.Fd())
13 | }
14 |
15 | func TestCygwinPipeName(t *testing.T) {
16 | if IsCygwinTerminal(os.Stdout.Fd()) {
17 | t.Fatal("should be false always")
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/vendor/github.com/mattn/go-isatty/isatty_solaris.go:
--------------------------------------------------------------------------------
1 | // +build solaris
2 | // +build !appengine
3 |
4 | package isatty
5 |
6 | import (
7 | "golang.org/x/sys/unix"
8 | )
9 |
10 | // IsTerminal returns true if the given file descriptor is a terminal.
11 | // see: http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libbc/libc/gen/common/isatty.c
12 | func IsTerminal(fd uintptr) bool {
13 | var termio unix.Termio
14 | err := unix.IoctlSetTermio(int(fd), unix.TCGETA, &termio)
15 | return err == nil
16 | }
17 |
--------------------------------------------------------------------------------
/vendor/github.com/pmezard/go-difflib/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 | go:
3 | - 1.5
4 | - tip
5 |
6 |
--------------------------------------------------------------------------------
/vendor/github.com/pquerna/ffjson/.gitignore:
--------------------------------------------------------------------------------
1 | tests/go.stripe/ff/customer_ffjson.go
2 | tests/goser/ff/goser_ffjson.go
3 | tests/types/ff/everything_ffjson.go
4 | tests/number/ff/number_ffjson.go
5 | tests/ff_ffjson.go
6 |
--------------------------------------------------------------------------------
/vendor/github.com/pquerna/ffjson/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 |
3 | install:
4 | - A=${PWD#*github.com/};A=${A%/ffjson};cd ../..;mv $A pquerna;cd pquerna/ffjson
5 | - go get -d -v -t ./...
6 |
7 | script: make clean && make lint && make test && make test
8 |
9 | go:
10 | - 1.7
11 |
12 | env:
13 | - GO15VENDOREXPERIMENT=1
14 |
--------------------------------------------------------------------------------
/vendor/github.com/pquerna/ffjson/NOTICE:
--------------------------------------------------------------------------------
1 | ffjson
2 | Copyright (c) 2014, Paul Querna
3 |
4 | This product includes software developed by
5 | Paul Querna (http://paul.querna.org/).
6 |
7 | Portions of this software were developed as
8 | part of Go, Copyright (c) 2012 The Go Authors.
--------------------------------------------------------------------------------
/vendor/github.com/pquerna/ffjson/fflib/v1/buffer_nopool.go:
--------------------------------------------------------------------------------
1 | // +build !go1.3
2 |
3 | package v1
4 |
5 | // Stub version of buffer_pool.go for Go 1.2, which doesn't have sync.Pool.
6 |
7 | func Pool(b []byte) {}
8 |
9 | func makeSlice(n int) []byte {
10 | return make([]byte, n)
11 | }
12 |
--------------------------------------------------------------------------------
/vendor/github.com/pquerna/ffjson/tests/base.go:
--------------------------------------------------------------------------------
1 | package tff
2 |
3 | // Foo struct
4 | type Foo struct {
5 | Blah int
6 | }
7 |
8 | // Record struct
9 | type Record struct {
10 | Timestamp int64 `json:"id,omitempty"`
11 | OriginID uint32
12 | Bar Foo
13 | Method string `json:"meth"`
14 | ReqID string
15 | ServerIP string
16 | RemoteIP string
17 | BytesSent uint64
18 | }
19 |
--------------------------------------------------------------------------------
/vendor/github.com/pquerna/ffjson/tests/bench.cmd:
--------------------------------------------------------------------------------
1 | del ff_ffjson.go
2 | ffjson ff.go
3 |
4 | go test -benchmem -bench MarshalJSON
5 |
6 | REM ### Bench CPU ###
7 | rem go test -benchmem -test.run=none -bench MarshalJSONNative -cpuprofile="cpu.dat" -benchtime 10s &&go tool pprof -gif tests.test.exe cpu.dat >out.gif
8 |
9 |
10 |
--------------------------------------------------------------------------------
/vendor/github.com/pquerna/ffjson/tests/t.cmd:
--------------------------------------------------------------------------------
1 | go install github.com/pquerna/ffjson
2 | del ff_ffjson.go
3 | del goser\ff\goser_ffjson.go
4 | del go.stripe\ff\customer_ffjson.go
5 | del types\ff\everything_ffjson.go
6 |
7 | go test -v github.com/pquerna/ffjson/fflib/v1 github.com/pquerna/ffjson/generator github.com/pquerna/ffjson/inception && ffjson ff.go && go test -v
8 | ffjson goser/ff/goser.go && go test github.com/pquerna/ffjson/tests/goser
9 | ffjson go.stripe/ff/customer.go && go test github.com/pquerna/ffjson/tests/go.stripe
10 | ffjson types/ff/everything.go && go test github.com/pquerna/ffjson/tests/types
11 |
12 |
13 |
--------------------------------------------------------------------------------
/vendor/github.com/pquerna/ffjson/tests/t.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -e
4 |
5 | make -C ..
6 | ffjson ff.go
7 |
8 | #
9 | # https://twitter.com/jpetazzo/status/446476354930757632/photo/1
10 | #
11 |
12 | go test -benchmem -bench MarshalJSON
13 | go test -benchmem -bench MarshalJSONNative -cpuprofile="prof.dat" -benchtime 10s
14 | go tool pprof -gif tests.test prof.dat >out.gif
15 |
--------------------------------------------------------------------------------
/vendor/github.com/schollz/org.eclipse.paho.mqtt.golang/.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 | *.msg
25 | *.lok
26 |
27 | samples/trivial
28 | samples/trivial2
29 | samples/sample
30 | samples/reconnect
31 | samples/ssl
32 | samples/custom_store
33 | samples/simple
34 | samples/stdinpub
35 | samples/stdoutsub
36 | samples/routing
--------------------------------------------------------------------------------
/vendor/github.com/schollz/org.eclipse.paho.mqtt.golang/fvt/mosquitto.cfg:
--------------------------------------------------------------------------------
1 | allow_anonymous true
2 | allow_duplicate_messages false
3 | connection_messages true
4 | log_dest stdout
5 | log_timestamp true
6 | log_type all
7 | persistence false
8 | bind_address 127.0.0.1
9 |
10 | listener 17001
11 | listener 17002
12 | listener 17003
13 | listener 17004
14 |
15 | #capath ../samples/samplecerts
16 | #certfile ../samples/samplecerts/server-crt.pem
17 | #keyfile ../samples/samplecerts/server-key.pem
18 |
--------------------------------------------------------------------------------
/vendor/github.com/schollz/org.eclipse.paho.mqtt.golang/fvt/rsmb.cfg:
--------------------------------------------------------------------------------
1 | allow_anonymous false
2 | bind_address 127.0.0.1
3 | connection_messages true
4 | log_level detail
5 |
6 | listener 17001
7 | #listener 17003
8 | #listener 17004
--------------------------------------------------------------------------------
/vendor/github.com/schollz/org.eclipse.paho.mqtt.golang/oops.go:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013 IBM Corp.
3 | *
4 | * All rights reserved. This program and the accompanying materials
5 | * are made available under the terms of the Eclipse Public License v1.0
6 | * which accompanies this distribution, and is available at
7 | * http://www.eclipse.org/legal/epl-v10.html
8 | *
9 | * Contributors:
10 | * Seth Hoenig
11 | * Allan Stockdill-Mander
12 | * Mike Robertson
13 | */
14 |
15 | package mqtt
16 |
17 | func chkerr(e error) {
18 | if e != nil {
19 | panic(e)
20 | }
21 | }
22 |
23 | func chkcond(b bool) {
24 | if !b {
25 | panic("oops")
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/vendor/github.com/schollz/org.eclipse.paho.mqtt.golang/samples/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | go clean
4 |
5 | for file in *.go
6 | do
7 | echo -n "Compiling $file ..."
8 | go build "$file"
9 | echo " done."
10 | done
11 |
--------------------------------------------------------------------------------
/vendor/github.com/schollz/org.eclipse.paho.mqtt.golang/samples/samplecerts/README:
--------------------------------------------------------------------------------
1 | Certificate structure:
2 |
3 | Root CA
4 | |
5 | |-> Intermediate CA
6 | |
7 | |-> Server
8 | |
9 | |-> Client
10 |
--------------------------------------------------------------------------------
/vendor/github.com/stretchr/testify/.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 | .DS_Store
25 |
--------------------------------------------------------------------------------
/vendor/github.com/stretchr/testify/.travis.yml:
--------------------------------------------------------------------------------
1 | language: go
2 |
3 | sudo: false
4 |
5 | go:
6 | - 1.1
7 | - 1.2
8 | - 1.3
9 | - 1.4
10 | - 1.5
11 | - 1.6
12 | - 1.7
13 | - tip
14 |
15 | script:
16 | - go test -v ./...
17 |
--------------------------------------------------------------------------------
/vendor/github.com/stretchr/testify/Godeps/Godeps.json:
--------------------------------------------------------------------------------
1 | {
2 | "ImportPath": "github.com/stretchr/testify",
3 | "GoVersion": "go1.5",
4 | "GodepVersion": "v74",
5 | "Packages": [
6 | "./..."
7 | ],
8 | "Deps": [
9 | {
10 | "ImportPath": "github.com/davecgh/go-spew/spew",
11 | "Comment": "v1.0.0-3-g6d21280",
12 | "Rev": "6d212800a42e8ab5c146b8ace3490ee17e5225f9"
13 | },
14 | {
15 | "ImportPath": "github.com/pmezard/go-difflib/difflib",
16 | "Rev": "d8ed2627bdf02c080bf22230dbb337003b7aba2d"
17 | },
18 | {
19 | "ImportPath": "github.com/stretchr/objx",
20 | "Rev": "cbeaeb16a013161a98496fad62933b1d21786672"
21 | }
22 | ]
23 | }
24 |
--------------------------------------------------------------------------------
/vendor/github.com/stretchr/testify/Godeps/Readme:
--------------------------------------------------------------------------------
1 | This directory tree is generated automatically by godep.
2 |
3 | Please do not edit.
4 |
5 | See https://github.com/tools/godep for more information.
6 |
--------------------------------------------------------------------------------
/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl:
--------------------------------------------------------------------------------
1 | {{.CommentWithoutT "a"}}
2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) bool {
3 | return {{.DocInfo.Name}}(a.t, {{.ForwardedParams}})
4 | }
5 |
--------------------------------------------------------------------------------
/vendor/github.com/stretchr/testify/assert/errors.go:
--------------------------------------------------------------------------------
1 | package assert
2 |
3 | import (
4 | "errors"
5 | )
6 |
7 | // AnError is an error instance useful for testing. If the code does not care
8 | // about error specifics, and only needs to return the error for example, this
9 | // error should be used to make the test code more readable.
10 | var AnError = errors.New("assert.AnError general error for testing")
11 |
--------------------------------------------------------------------------------
/vendor/github.com/stretchr/testify/assert/forward_assertions.go:
--------------------------------------------------------------------------------
1 | package assert
2 |
3 | // Assertions provides assertion methods around the
4 | // TestingT interface.
5 | type Assertions struct {
6 | t TestingT
7 | }
8 |
9 | // New makes a new Assertions object for the specified TestingT.
10 | func New(t TestingT) *Assertions {
11 | return &Assertions{
12 | t: t,
13 | }
14 | }
15 |
16 | //go:generate go run ../_codegen/main.go -output-package=assert -template=assertion_forward.go.tmpl
17 |
--------------------------------------------------------------------------------
/vendor/github.com/stretchr/testify/http/doc.go:
--------------------------------------------------------------------------------
1 | // Package http DEPRECATED USE net/http/httptest
2 | package http
3 |
--------------------------------------------------------------------------------
/vendor/github.com/stretchr/testify/http/test_round_tripper.go:
--------------------------------------------------------------------------------
1 | package http
2 |
3 | import (
4 | "github.com/stretchr/testify/mock"
5 | "net/http"
6 | )
7 |
8 | // TestRoundTripper DEPRECATED USE net/http/httptest
9 | type TestRoundTripper struct {
10 | mock.Mock
11 | }
12 |
13 | // RoundTrip DEPRECATED USE net/http/httptest
14 | func (t *TestRoundTripper) RoundTrip(req *http.Request) (*http.Response, error) {
15 | args := t.Called(req)
16 | return args.Get(0).(*http.Response), args.Error(1)
17 | }
18 |
--------------------------------------------------------------------------------
/vendor/github.com/stretchr/testify/package_test.go:
--------------------------------------------------------------------------------
1 | package testify
2 |
3 | import (
4 | "github.com/stretchr/testify/assert"
5 | "testing"
6 | )
7 |
8 | func TestImports(t *testing.T) {
9 | if assert.Equal(t, 1, 1) != true {
10 | t.Error("Something is wrong.")
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/vendor/github.com/stretchr/testify/require/forward_requirements.go:
--------------------------------------------------------------------------------
1 | package require
2 |
3 | // Assertions provides assertion methods around the
4 | // TestingT interface.
5 | type Assertions struct {
6 | t TestingT
7 | }
8 |
9 | // New makes a new Assertions object for the specified TestingT.
10 | func New(t TestingT) *Assertions {
11 | return &Assertions{
12 | t: t,
13 | }
14 | }
15 |
16 | //go:generate go run ../_codegen/main.go -output-package=require -template=require_forward.go.tmpl
17 |
--------------------------------------------------------------------------------
/vendor/github.com/stretchr/testify/require/require.go.tmpl:
--------------------------------------------------------------------------------
1 | {{.Comment}}
2 | func {{.DocInfo.Name}}(t TestingT, {{.Params}}) {
3 | if !assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) {
4 | t.FailNow()
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/vendor/github.com/stretchr/testify/require/require_forward.go.tmpl:
--------------------------------------------------------------------------------
1 | {{.CommentWithoutT "a"}}
2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) {
3 | {{.DocInfo.Name}}(a.t, {{.ForwardedParams}})
4 | }
5 |
--------------------------------------------------------------------------------
/vendor/github.com/stretchr/testify/require/requirements.go:
--------------------------------------------------------------------------------
1 | package require
2 |
3 | // TestingT is an interface wrapper around *testing.T
4 | type TestingT interface {
5 | Errorf(format string, args ...interface{})
6 | FailNow()
7 | }
8 |
9 | //go:generate go run ../_codegen/main.go -output-package=require -template=require.go.tmpl
10 |
--------------------------------------------------------------------------------
/vendor/github.com/ugorji/go/README.md:
--------------------------------------------------------------------------------
1 | # go/codec
2 |
3 | This repository contains the `go-codec` library,
4 | a High Performance and Feature-Rich Idiomatic encode/decode and rpc library for
5 |
6 | - msgpack: https://github.com/msgpack/msgpack
7 | - binc: http://github.com/ugorji/binc
8 | - cbor: http://cbor.io http://tools.ietf.org/html/rfc7049
9 | - json: http://json.org http://tools.ietf.org/html/rfc7159
10 |
11 | For more information:
12 |
13 | - [see the codec/Readme for quick usage information](https://github.com/ugorji/go/tree/master/codec#readme)
14 | - [view the API on godoc](http://godoc.org/github.com/ugorji/go/codec)
15 | - [read the detailed usage/how-to primer](http://ugorji.net/blog/go-codec-primer)
16 |
17 | Install using:
18 |
19 | go get github.com/ugorji/go/codec
20 |
21 |
--------------------------------------------------------------------------------
/vendor/github.com/ugorji/go/codec/codecgen/z.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | const genCodecPath = "github.com/ugorji/go/codec"
4 |
--------------------------------------------------------------------------------
/vendor/github.com/ugorji/go/codec/codecgen_test.go:
--------------------------------------------------------------------------------
1 | // +build x,codecgen
2 |
3 | package codec
4 |
5 | import (
6 | "fmt"
7 | "testing"
8 | )
9 |
10 | func _TestCodecgenJson1(t *testing.T) {
11 | // This is just a simplistic test for codecgen.
12 | // It is typically disabled. We only enable it for debugging purposes.
13 | const callCodecgenDirect bool = true
14 | v := newTestStruc(2, false, !testSkipIntf, false)
15 | var bs []byte
16 | e := NewEncoderBytes(&bs, testJsonH)
17 | if callCodecgenDirect {
18 | v.CodecEncodeSelf(e)
19 | e.w.atEndOfEncode()
20 | } else {
21 | e.MustEncode(v)
22 | }
23 | fmt.Printf("%s\n", bs)
24 | }
25 |
--------------------------------------------------------------------------------
/vendor/github.com/ugorji/go/codec/goversion_arrayof_gte_go15.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved.
2 | // Use of this source code is governed by a MIT license found in the LICENSE file.
3 |
4 | // +build go1.5
5 |
6 | package codec
7 |
8 | import "reflect"
9 |
10 | const reflectArrayOfSupported = true
11 |
12 | func reflectArrayOf(count int, elem reflect.Type) reflect.Type {
13 | return reflect.ArrayOf(count, elem)
14 | }
15 |
--------------------------------------------------------------------------------
/vendor/github.com/ugorji/go/codec/goversion_arrayof_lt_go15.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved.
2 | // Use of this source code is governed by a MIT license found in the LICENSE file.
3 |
4 | // +build !go1.5
5 |
6 | package codec
7 |
8 | import "reflect"
9 |
10 | const reflectArrayOfSupported = false
11 |
12 | func reflectArrayOf(count int, elem reflect.Type) reflect.Type {
13 | panic("codec: reflect.ArrayOf unsupported in this go version")
14 | }
15 |
--------------------------------------------------------------------------------
/vendor/github.com/ugorji/go/codec/goversion_makemap_gte_go19.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved.
2 | // Use of this source code is governed by a MIT license found in the LICENSE file.
3 |
4 | // +build go1.9
5 |
6 | package codec
7 |
8 | import "reflect"
9 |
10 | func makeMapReflect(t reflect.Type, size int) reflect.Value {
11 | if size < 0 {
12 | return reflect.MakeMapWithSize(t, 4)
13 | }
14 | return reflect.MakeMapWithSize(t, size)
15 | }
16 |
--------------------------------------------------------------------------------
/vendor/github.com/ugorji/go/codec/goversion_makemap_lt_go19.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved.
2 | // Use of this source code is governed by a MIT license found in the LICENSE file.
3 |
4 | // +build !go1.9
5 |
6 | package codec
7 |
8 | import "reflect"
9 |
10 | func makeMapReflect(t reflect.Type, size int) reflect.Value {
11 | return reflect.MakeMap(t)
12 | }
13 |
--------------------------------------------------------------------------------
/vendor/github.com/ugorji/go/codec/goversion_unsupported_lt_go14.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved.
2 | // Use of this source code is governed by a MIT license found in the LICENSE file.
3 |
4 | // +build !go1.4
5 |
6 | package codec
7 |
8 | // This codec package will only work for go1.4 and above.
9 | // This is for the following reasons:
10 | // - go 1.4 was released in 2014
11 | // - go runtime is written fully in go
12 | // - interface only holds pointers
13 | // - reflect.Value is stabilized as 3 words
14 |
15 | func init() {
16 | panic("codec: go 1.3 and below are not supported")
17 | }
18 |
--------------------------------------------------------------------------------
/vendor/github.com/ugorji/go/codec/goversion_vendor_eq_go15.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved.
2 | // Use of this source code is governed by a MIT license found in the LICENSE file.
3 |
4 | // +build go1.5,!go1.6
5 |
6 | package codec
7 |
8 | import "os"
9 |
10 | var genCheckVendor = os.Getenv("GO15VENDOREXPERIMENT") == "1"
11 |
--------------------------------------------------------------------------------
/vendor/github.com/ugorji/go/codec/goversion_vendor_eq_go16.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved.
2 | // Use of this source code is governed by a MIT license found in the LICENSE file.
3 |
4 | // +build go1.6,!go1.7
5 |
6 | package codec
7 |
8 | import "os"
9 |
10 | var genCheckVendor = os.Getenv("GO15VENDOREXPERIMENT") != "0"
11 |
--------------------------------------------------------------------------------
/vendor/github.com/ugorji/go/codec/goversion_vendor_gte_go17.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved.
2 | // Use of this source code is governed by a MIT license found in the LICENSE file.
3 |
4 | // +build go1.7
5 |
6 | package codec
7 |
8 | const genCheckVendor = true
9 |
--------------------------------------------------------------------------------
/vendor/github.com/ugorji/go/codec/goversion_vendor_lt_go15.go:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2012-2015 Ugorji Nwoke. All rights reserved.
2 | // Use of this source code is governed by a MIT license found in the LICENSE file.
3 |
4 | // +build !go1.5
5 |
6 | package codec
7 |
8 | var genCheckVendor = false
9 |
--------------------------------------------------------------------------------
/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.md:
--------------------------------------------------------------------------------
1 | # Go Networking
2 |
3 | This repository holds supplementary Go networking libraries.
4 |
5 | ## Download/Install
6 |
7 | The easiest way to install is to run `go get -u golang.org/x/net`. You can
8 | also manually git clone the repository to `$GOPATH/src/golang.org/x/net`.
9 |
10 | ## Report Issues / Send Patches
11 |
12 | This repository uses Gerrit for code changes. To learn how to submit
13 | changes to this repository, see https://golang.org/doc/contribute.html.
14 | The main issue tracker for the net repository is located at
15 | https://github.com/golang/go/issues. Prefix your issue with "x/net:" in the
16 | subject line, so it is easy to find.
17 |
--------------------------------------------------------------------------------
/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/context/ctxhttp/ctxhttp_17_test.go:
--------------------------------------------------------------------------------
1 | // Copyright 2015 The Go Authors. All rights reserved.
2 | // Use of this source code is governed by a BSD-style
3 | // license that can be found in the LICENSE file.
4 |
5 | // +build !plan9,go1.7
6 |
7 | package ctxhttp
8 |
9 | import (
10 | "io"
11 | "net/http"
12 | "net/http/httptest"
13 | "testing"
14 |
15 | "context"
16 | )
17 |
18 | func TestGo17Context(t *testing.T) {
19 | ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
20 | io.WriteString(w, "ok")
21 | }))
22 | defer ts.Close()
23 | ctx := context.Background()
24 | resp, err := Get(ctx, http.DefaultClient, ts.URL)
25 | if resp == nil || err != nil {
26 | t.Fatalf("error received from client: %v %v", err, resp)
27 | }
28 | resp.Body.Close()
29 | }
30 |
--------------------------------------------------------------------------------
/vendor/golang.org/x/net/context/go19.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 | // +build go1.9
6 |
7 | package context
8 |
9 | import "context" // standard library's context, as of Go 1.7
10 |
11 | // A Context carries a deadline, a cancelation signal, and other values across
12 | // API boundaries.
13 | //
14 | // Context's methods may be called by multiple goroutines simultaneously.
15 | type Context = context.Context
16 |
17 | // A CancelFunc tells an operation to abandon its work.
18 | // A CancelFunc does not wait for the work to stop.
19 | // After the first call, subsequent calls to a CancelFunc do nothing.
20 | type CancelFunc = context.CancelFunc
21 |
--------------------------------------------------------------------------------
/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/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/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/schollz/find/b69e6fd2419e559ee29a79b1a0656b14b10b3e68/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 | 1234
3 | #errors
4 | #document
5 | |
6 | |
7 | |
8 | |
9 | | "1"
10 | |
11 | | "2"
12 | |
13 | |
14 | |
15 | | "3"
16 | | "4"
17 |
18 | #data
19 |