vitess-gh/go
Maggie Zhou f2afcd25d5 Get rid of the pull_backend.go
Fix tests to use the new metric names.
Fix tests that expected gauges and not counters. (more to come on this
thing, but these were the tests that indicated gauges early)
Fix the `Set()` implementation for GaugesWithMultiLabels.

Signed-off-by: Maggie Zhou <mzhou@slack-corp.com>
2018-04-20 16:51:46 -07:00
..
acl Revert "Factor out glog references" 2018-04-20 16:44:06 -07:00
bytes2 perf: Optimize byte operations 2017-06-27 15:35:41 -07:00
cache lru_cache: export eviction stats 2017-12-10 16:25:42 -08:00
cacheservice license: BSD->Apache v2.0 2017-05-06 00:38:56 -07:00
cgzip Rewrite imports to new custom URL. 2018-02-27 12:00:33 -08:00
cmd WIP PR to add support for exporting metrics to Prometheus. 2018-04-20 16:51:46 -07:00
event Revert "Factor out glog references" 2018-04-20 16:44:06 -07:00
exit Revert "Factor out glog references" 2018-04-20 16:44:06 -07:00
fileutil Fixed more golint issues, mainly fixing comments. 2017-10-22 17:24:48 -07:00
flagutil Fixed more golint issues, mainly fixing comments. 2017-10-22 17:24:48 -07:00
hack license: BSD->Apache v2.0 2017-05-06 00:38:56 -07:00
history license: BSD->Apache v2.0 2017-05-06 00:38:56 -07:00
ioutil2 Fixed more golint issues, mainly fixing comments. 2017-10-22 17:24:48 -07:00
json2 Rewrite imports to new custom URL. 2018-02-27 12:00:33 -08:00
jsonutil add jsonutil package to implement MarshalNoEscape 2017-09-11 08:52:00 -07:00
memcache Rewrite imports to new custom URL. 2018-02-27 12:00:33 -08:00
mysql * Refactor the pull backend to use the expvar hook. 2018-04-20 16:51:46 -07:00
netutil Use all of the IPv4 DNS entries for Zookeeper 2018-03-15 17:02:57 +01:00
pools Run goimports on all Go files. 2018-02-27 12:57:21 -08:00
proc Quick followup to @demmer's IRL comments that I could push some of the 2018-04-20 16:51:46 -07:00
race license: BSD->Apache v2.0 2017-05-06 00:38:56 -07:00
ratelimiter license: BSD->Apache v2.0 2017-05-06 00:38:56 -07:00
sqlescape Move sqlparser.Backtick to new package, "sqlescape" 2017-10-04 18:11:38 +02:00
sqltypes v3: join tests 2018-03-16 22:56:58 -07:00
stats Get rid of the pull_backend.go 2018-04-20 16:51:46 -07:00
streamlog Quick followup to @demmer's IRL comments that I could push some of the 2018-04-20 16:51:46 -07:00
sync2 Rewrite imports to new custom URL. 2018-02-27 12:00:33 -08:00
tb license: BSD->Apache v2.0 2017-05-06 00:38:56 -07:00
testfiles Updating tests for new consul version. 2018-03-30 12:56:17 -07:00
timer Rewrite imports to new custom URL. 2018-02-27 12:00:33 -08:00
trace license: BSD->Apache v2.0 2017-05-06 00:38:56 -07:00
vt Get rid of the pull_backend.go 2018-04-20 16:51:46 -07:00
zk/zkctl Adding temporary link so travis passes. 2017-12-14 07:46:16 -08:00
README.md Update docs for new directory structure. 2018-02-27 12:39:47 -08:00

README.md

This directory contains all the Go code for Vitess.

Most of the packages at the top level are general-purpose and are suitable for use outside Vitess. Packages that are specific to Vitess are in the vt subdirectory. Binaries are in the cmd subdirectory.

Please see GoDoc for a listing of the packages and their purposes.

vt/proto contains the compiled protos for go, one per each directory. When importing these protos (for instance XXX.proto), we rename them on import to XXXpb. For instance:

import (
    topodatapb "vitess.io/vitess/go/vt/proto/topodata"
)