types

package
v0.0.0-...-388d6c9 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

Package types provides the types of the broker.

Index

Constants

View Source
const (
	// DefaultTopic if no topic set, use the default topic
	DefaultTopic = "default"
	// DefaultGroup if no group set, use the default group
	DefaultGroup = "default_group"

	// TokenTopic  the timeSlice token topic
	TokenTopic = "token"
	// TokenGroup the timeSlice token consumer group
	TokenGroup = "token_group"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HandleMessage

type HandleMessage func(ctx context.Context, msg *types.Message) error

HandleMessage is a function that handles a message.

Jump to

Keyboard shortcuts

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