handler

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageHandler

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

func NewHandler

func NewHandler(writer *Writer, indexer *es.Index) *MessageHandler

func (*MessageHandler) AddFilters

func (mh *MessageHandler) AddFilters(filters ...filter.FilterFunc)

func (*MessageHandler) Consume

func (mh *MessageHandler) Consume(_, val string) error

type Writer

type Writer struct {
	ESWriter *es.Writer
	ZOWriter *zo.Writer
}

func (*Writer) Write

func (w *Writer) Write(index, val string) error

Jump to

Keyboard shortcuts

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