searcher

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Searcher

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

Searcher represents a searcher.

func NewSearcher

func NewSearcher(r io.ReaderAt) *Searcher

NewSearcher creates a new searcher.

func (*Searcher) Abort

func (s *Searcher) Abort() error

Abort the searching.

func (*Searcher) Search

func (s *Searcher) Search(cursor int64, pattern string, forward bool) <-chan interface{}

Search the pattern.

Jump to

Keyboard shortcuts

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