internal

package
v0.0.0-...-e637878 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KafkaReader

func KafkaReader(kafkaURL, topic string) *kafka.Reader

func KafkaWriter

func KafkaWriter(conn *kafka.Conn, body string)

Types

type IncMessage

type IncMessage struct {
	Id     int    `json:"ID"`
	Text   string `json:"message"`
	Answer string `json:"answer,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL