types

package
v0.0.0-...-e8d14c0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TargetStats

type TargetStats struct {
	// QueueLength is the queue length if any messages are queued.
	QueueLength int

	// TotalMessages is the total number of messages sent in the lifetime of the target
	TotalMessages int64

	// FailedMessages should log message count that failed to send.
	FailedMessages int64
}

TargetStats contains statistics for a target.

type TargetType

type TargetType uint8

TargetType indicates type of the target e.g. console, http, kafka

const (
	TargetConsole TargetType
	TargetHTTP
	TargetKafka
)

Constants for target types

func (TargetType) String

func (i TargetType) String() string

Jump to

Keyboard shortcuts

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