filter

package
v0.0.0-...-3976360 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter interface {
	Name() string
	Append(buf *bytes.Buffer, keys [][]byte)
	Contains(data, key []byte) bool
	NewGenerator() Generator
}

type Generator

type Generator interface {
	Name() string
	Reset()
	Empty() bool
	Add(key []byte)
	Append(buf *bytes.Buffer)
}

func NewGenerator

func NewGenerator(filter Filter) Generator

Jump to

Keyboard shortcuts

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