Documentation ¶ Index ¶ func Serve(brokers []string, topic, instance string, countChan <-chan dto.ArticleAmount) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Serve ¶ func Serve(brokers []string, topic, instance string, countChan <-chan dto.ArticleAmount) Serve прослушивает канал countChan и отправляет его содержимое в формате JSON в топик topic. При этом к данным из канала добавляется поле с названием экземпляра приложения instance. Types ¶ This section is empty. Source Files ¶ View all Source files response_count.go Click to show internal directories. Click to hide internal directories.