1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-06 08:16:03 +02:00
go-micro/examples/pubsub
Asim Aslam 62801c3d68 update
2021-10-13 13:31:23 +01:00
..
cli update 2021-10-13 13:31:23 +01:00
srv update 2021-10-13 13:31:23 +01:00
README.md Add examples 2020-12-26 15:17:20 +00:00

PubSub

This is an example of pubsub via the client/server interfaces.

PubSub at the client/server level works much like RPC but for async comms. It uses the same encoding but rather than using the transport interface it uses the broker for messaging. This includes the ability to encode metadata into context which is passed through with messages.

Contents

  • srv - contains the service
  • cli - contains the client