sender

package
v0.0.0-...-5cf3e1d Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.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 GenericSender

type GenericSender interface {
	Send(context.Context, *event.Event) PublishError
	URL() string
}

type PublishError

type PublishError interface {
	error
	Code() int
	Message() string
}

type PublishingMetricsCollectorStub

type PublishingMetricsCollectorStub struct {
}

func (PublishingMetricsCollectorStub) Collect

func (PublishingMetricsCollectorStub) Describe

func (p PublishingMetricsCollectorStub) Describe(chan<- *prometheus.Desc)

func (PublishingMetricsCollectorStub) RecordError

func (p PublishingMetricsCollectorStub) RecordError()

func (PublishingMetricsCollectorStub) RecordEventType

func (p PublishingMetricsCollectorStub) RecordEventType(string, string, int)

func (PublishingMetricsCollectorStub) RecordLatency

func (PublishingMetricsCollectorStub) RecordRequests

func (p PublishingMetricsCollectorStub) RecordRequests(int, string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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