etcd/pkg
lorneli 54827d47ee pkg/idutil: use count field as atomic variable
Use atomic.AddUint64 instead of mutex lock to inc count field.

Bench result:
benchmark           old ns/op     new ns/op     delta
BenchmarkNext-4     163           26.3          -83.87%
2018-04-27 00:44:45 +08:00
..
adt adt: Union for interval trees 2017-06-21 14:33:15 -07:00
contention *: add missing godoc package descriptions 2016-05-27 15:15:26 -07:00
cpuutil pkg/cpuutil: add cpuutil 2017-01-20 01:47:56 -08:00
crc *: add missing package descriptions 2015-11-17 20:54:10 -08:00
debugutil pkg/debugutil: add 'mutex' profiler (Go 1.8+) 2017-04-18 10:56:06 -07:00
expect pkg/expect: fix deadlock in mac OS 2018-01-01 17:34:59 -08:00
fileutil pkg: support structured logger 2018-04-16 17:36:00 -07:00
flags pkg/flags: fix "Set" 2018-03-27 06:25:44 -07:00
httputil pkg/httputil: add "GetHostname" 2018-02-28 17:27:40 -08:00
idutil pkg/idutil: use count field as atomic variable 2018-04-27 00:44:45 +08:00
ioutil pkg/ioutil: configure pageOffset in NewPageWriter 2016-09-28 09:45:54 -07:00
logutil pkg/logutil: add "NewGRPCLoggerV2FromZap", "NewRaftLogger" 2018-04-16 17:36:00 -07:00
mock *: fix "v2store" imports 2018-02-26 17:11:40 -08:00
netutil pkg/netutil: return error from "URLStringsEqual" 2018-01-25 11:22:07 -08:00
osutil pkg: support structured logger 2018-04-16 17:36:00 -07:00
pathutil pkg: update LICENSE header 2016-05-12 20:48:53 -07:00
pbutil pkg/pbutil: Fix go vet errors 2017-08-30 20:07:14 +05:30
proxy pkg/proxy: fix fmt 2018-04-20 11:26:38 -07:00
report *: fix naked returns 2017-11-10 18:46:15 -08:00
runtime pkg: update LICENSE header 2016-05-12 20:48:53 -07:00
schedule *: replace 'golang.org/x/net/context' with 'context' 2017-09-07 13:39:42 -07:00
srv pkg/srv, embed, etcdmain: Support multiple clusters in the same DNS discovery region. 2018-01-24 20:15:48 +00:00
stringutil pkg/stringutil: add tests 2018-04-08 14:18:09 -07:00
testutil snapshot: fix "TestSnapshotV3RestoreMultiMemberAdd" 2018-02-05 13:08:24 -08:00
tlsutil *: add missing godoc package descriptions 2016-05-27 15:15:26 -07:00
transport pkg/transport: check nil logger 2018-04-16 17:36:00 -07:00
types *: clean up/fix server structured logs 2018-04-18 12:54:43 -07:00
wait pkg/wait: change list's lock to RWMutex 2017-08-27 18:23:18 +08:00
README.md pkg: add README.md 2014-10-26 16:28:48 -07:00

README.md

pkg/ is a collection of utility packages used by etcd without being specific to etcd itself. A package belongs here only if it could possibly be moved out into its own repository in the future.