module

package module
v0.0.0-...-23465b2 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageReceiver

type MessageReceiver interface {
	HandleMessage(message.Message, string, []byte)
}

MessageReceiver interface to handle messages for diagnostics

type NoopMessageReceiver

type NoopMessageReceiver struct{}

NoopMessageReceiver for cases where diagnosing messages is unsupported or not needed (serverless, tests)

func (*NoopMessageReceiver) HandleMessage

func (n *NoopMessageReceiver) HandleMessage(m message.Message, eventType string, redactedMsg []byte)

HandleMessage does nothing with the message

Jump to

Keyboard shortcuts

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