detector

package
v1.1.12 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: BSD-3-Clause Imports: 6 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrepareTopics added in v1.1.3

func PrepareTopics(brokers []string)

func Run

func Run(ctx context.Context, brokers []string) func() error

Types

type Counters

type Counters struct {
	Sent     int
	Received int
}

type CountersCodec

type CountersCodec struct{}

func (*CountersCodec) Decode

func (c *CountersCodec) Decode(data []byte) (interface{}, error)

func (*CountersCodec) Encode

func (c *CountersCodec) Encode(value interface{}) ([]byte, error)

Jump to

Keyboard shortcuts

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