github.com/micro/go-micro/examples@v0.0.0-20210105173217-bf4ab679e18b/pubsub/README.md (about)

     1  # PubSub
     2  
     3  This is an example of pubsub via the client/server interfaces.
     4  
     5  PubSub at the client/server level works much like RPC but for async comms. It uses the same encoding but 
     6  rather than using the transport interface it uses the broker for messaging. This includes the ability 
     7  to encode metadata into context which is passed through with messages.
     8  
     9  ## Contents
    10  
    11  - srv - contains the service
    12  - cli - contains the client
    13