Implement binary message transport for API v3 [#60]
Closes #60 (closed). Implements binary message transport for API v3.
- Adds the
pkg/api/v3/message
package, the binary message transport reference implementation. - Adds a router to route messages.
- Adds a multiaddr wrapper type to integrate multiaddrs with code gen.
- Updates code gen to support eliding names to allow for
message.Type
andmessage.Unmarshal
instead ofmessage.MessageType
andmessage.UnmarshalMessage
, etc (i.e. to avoid stuttering). - Adds two error statuses for peer to peer error conditions.
- Removes the API batch interface in favor of transport mechanisms that batch requests.
Changelog: feature
Edited by Ethan Reesor