sender

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

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func Init

func Init(c *kafka.Conn) *Handler

func (*Handler) Send

func (h *Handler) Send(w http.ResponseWriter, r *http.Request)

type Message

type Message struct {
	Id   int    `json:"ID"`
	Text string `json:"message"`
}

Jump to

Keyboard shortcuts

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