github.com/micro/go-micro/examples@v0.0.0-20210105173217-bf4ab679e18b/broker/README.md (about) 1 # Broker 2 3 The [broker](https://godoc.org/github.com/micro/go-micro/broker#Broker) is an interface for PubSub. 4 5 ## Contents 6 7 - main.go - uns pub-sub as two go routines for 10 seconds. 8 - producer - publishes messages to the broker every second 9 - consumer - consumes any messages sent by the producer