response_count

package
v0.0.0-...-5a20165 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳