Skip to content

v1.0.1

Compare
Choose a tag to compare
@prashantv prashantv released this 19 Jan 21:18
· 978 commits to master since this release

Changes since 1.0.0

  • Bug fix for #181: Shuffle peers on PeerList.Add to avoid biases in peer
    selection.
  • Peers can now be removed using PeerList.Remove.
  • Add ErrorHandlerFunc to create raw handlers that return errors.
  • Retries try to avoid previously selected hosts, rather than just the
    host:port.
  • Created an ArgReader interface (which is an alias for io.ReadCloser) for
    symmetry with ArgWriter.
  • Add ArgReadable and ArgWritable interfaces for the common methods between
    calls and responses.
  • Expose Thrift binary encoding methods (thrift.ReadStruct, thrift.WriteStruct,
    thrift.ReadHeaders, thrift.WriteHeaders) so callers can easily send Thrift
    payloads over the streaming interface.