e117f36e48
We use url.ParseQuery to parse names-to-urls string, but it has side effect that unescape the string. If the initial-cluster string has ipv6 which contains `%25`, it will unescape it to `%` and make further url parse failed. Fix it by modifiying the parse process. Go1.4 doesn't support literal IPv6 address w/ zone in URI(https://github.com/golang/go/issues/6530), so we only enable tests in Go1.5+. |
||
---|---|---|
.. | ||
cors | ||
crc | ||
fileutil | ||
flags | ||
httputil | ||
idutil | ||
ioutil | ||
netutil | ||
osutil | ||
pathutil | ||
pbutil | ||
runtime | ||
testutil | ||
timeutil | ||
transport | ||
types | ||
wait | ||
README.md |
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.