package event type EventBus interface { Publish(topic string, payload interface{}) error Subscribe(topic string, handler func(payload []byte)) error Close() error }