- Adds direct Publishing from embedded services using new
func (s *Server) Publish(topic string, payload []byte, retain bool) error
method. - Adds Event Hook
onMessage
for embedded services to intercept and optionally modify incoming publish packets. - Updates Readme to this effect.
- Various small comment and code cleanups.
What's Changed
- Inline Publishing by @mochi-co in #8
- Expose packets by @mochi-co in #10
- Feature/event hooks publish by @mochi-co in #11
Full Changelog: v1.0.0...v1.0.1