mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Use array indexing to clean up the code and make it constant time. Also, add a test for IsResponseMsg. Signed-off-by: Nathan VanBenschoten <nvanbenschoten@gmail.com>