This is a Go library that provides a thin, but opinionated abstraction over the go-nats API. The use case is for writing services that use NATS as a transport layer.
The NATS API expects a slice of bytes as the representation of a message. In general, it is often necessary to standardize on a serialization format to simplify designed and interacting with messages.
This library standardizes on Protocol Buffers as the message serialization format and it provides a few conveniences when working with Protobuf messages.
The two main value-add features this library provides are the Transport
interface and implementation and the Message
type.