nats-architecture-and-design
nats-architecture-and-design copied to clipboard
Header design
Referring to this PR https://github.com/nats-io/nats.go/pull/1584 this includes an add() method to add a header key and value. This would facilitate extra context since the service doesn't have direct access to the request.
Also documents existing header methods (at least for the Go micro package).