searcher

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 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 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 any

Search the pattern.

Jump to

Keyboard shortcuts

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