list

package
v0.0.0-...-84d4900 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MinListSize = 50

Functions

This section is empty.

Types

type List

type List interface {
	Exist(str string) bool
	Update(key string)
}

type Regexp

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

func NewRegexpList

func NewRegexpList(key string) (*Regexp, error)

func (*Regexp) Exist

func (r *Regexp) Exist(str string) bool

func (*Regexp) Update

func (r *Regexp) Update(key string)

type TextList

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

func NewTextList

func NewTextList(key string) (*TextList, error)

func (*TextList) Exist

func (t *TextList) Exist(str string) bool

func (*TextList) Update

func (t *TextList) Update(key string)

Jump to

Keyboard shortcuts

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