github.com/tmaxmax/hub (go): Package hub provides primitives for working with the publish-subscribe messaging model. All the types are Go channels, so the usage is identical to theirs.  The pattern is simple: publish messages to given topics. To do this a series of commands are sent to the Hub, which is a plain channel, commands that are executed afterwards. Most commands take topics as parameters, but if the topics are not specified a default topic (a topic identified by the nil interface) is used.
Keywords: go|observer|observer-pattern|publish-subscribe|pubsub