searcher

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Errors

type Errors []error

type Searcher

type Searcher interface {
	Search(context.Context, string) error
	SearchAll(context.Context, ...string) (chan<- string, error)
	StoreAll(context.Context, <-chan string) error
	StoreMap(context.Context, map[int8]string) error
	StoreInterface(context.Context, Stringer) (int, error)
	StoreAnything(context.Context, interface{}) error
	One(context.Context, int, int, string) error
	Many(context.Context, map[int]string) Errors
}

type Stringer

type Stringer interface {
	String() error
}

type TracedSearcher

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

TracedSearcher is a traced implementation of Searcher

func (*TracedSearcher) Many

func (t *TracedSearcher) Many(a0 context.Context, a1 map[int]string) Errors

func (*TracedSearcher) One

func (t *TracedSearcher) One(a0 context.Context, a1 int, a2 int, a3 string) error

func (*TracedSearcher) Search

func (t *TracedSearcher) Search(a0 context.Context, a1 string) error

func (*TracedSearcher) SearchAll

func (t *TracedSearcher) SearchAll(a0 context.Context, a1 ...string) (chan<- string, error)

func (*TracedSearcher) StoreAll

func (t *TracedSearcher) StoreAll(a0 context.Context, a1 <-chan string) error

func (*TracedSearcher) StoreAnything

func (t *TracedSearcher) StoreAnything(a0 context.Context, a1 interface{}) error

func (*TracedSearcher) StoreInterface

func (t *TracedSearcher) StoreInterface(a0 context.Context, a1 Stringer) (int, error)

func (*TracedSearcher) StoreMap

func (t *TracedSearcher) StoreMap(a0 context.Context, a1 map[int8]string) error

Jump to

Keyboard shortcuts

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