messageshandler

package
v0.0.0-...-b3f87a3 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrWrongMessage = errors.New("wrong message")

Functions

func NewHandler

func NewHandler(client interfaces.MessageSender) kafka.Handler

NewHandler - Handler constructor

Types

type Message

type Message struct {
	Text   string `json:"text"`
	ChatID int64  `json:"chat_id"`
}

Jump to

Keyboard shortcuts

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