lib

package
v0.0.0-...-668a133 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDigital

func IsDigital(b byte) bool

Types

type BloomFilter

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

func (*BloomFilter) Add

func (bf *BloomFilter) Add(item []byte)

func (*BloomFilter) Test

func (bf *BloomFilter) Test(item []byte) bool

type BloomFilterInterface

type BloomFilterInterface interface {
	Add(item []byte)
	Test(item []byte) bool
}

func NewBloomFilter

func NewBloomFilter(size uint) BloomFilterInterface

Jump to

Keyboard shortcuts

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