func (s *Service) register(bus *pubsub.PubSub, topic string, handler MailboxHandler) (mbox chan *pubsub.Mailbox) { mbox = bus.Sub(topic) s.registry[topic] = handler return mbox }