项目文件夹

文件
Asim Aslam 1cd7cfaa6c
Run tests / Test repo (push) Has been cancelled
go-micro.dev/v4 (#2305)
2021-10-12 12:55:53 +01:00
..
2021-10-12 12:55:53 +01:00
2021-10-12 12:55:53 +01:00
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