kafka

package
v1.0.56 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message[T any] struct {
	Application string `json:"application"`
	Action      string `json:"action"`
	Body        T      `json:"body"`
}

type MessageWrapper

type MessageWrapper[T any] struct {
	Timestamp time.Time  `json:"@timestamp"`
	UserAgent string     `json:"user_agent"`
	Message   Message[T] `json:"message"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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