mirror of
https://github.com/go-micro/go-micro.git
synced 2025-05-31 21:59:42 +02:00
14 lines
426 B
Markdown
14 lines
426 B
Markdown
# 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
|
|
|