memorydedupe

package
v0.3.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	// contains filtered or unexported fields
}

func NewCollector

func NewCollector(config CollectorConfig) (*Collector, error)

func (Collector) Close

func (c Collector) Close()

func (Collector) Ingest

func (c Collector) Ingest(ev event.Event, namespace string) error

TODO: pass contect to Ingest

func (Collector) IsUnique

func (c Collector) IsUnique(ctx context.Context, namespace string, ev event.Event) (bool, error)

type CollectorConfig

type CollectorConfig struct {
	Collector ingest.Collector
	Size      int
}

Jump to

Keyboard shortcuts

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