Skip to content

Glossary: Software Design Patterns in Go

Publish/subscribe

Also written: pub/sub, publish-subscribe

Another name for the observer pattern: the subject publishes events and listeners subscribe to them, with a message system between sender and receiver.

Where the book teaches it

Related terms

ObserverEvent bus