Documentation ¶
Index ¶
- Variables
- type Searcher
- func (s *Searcher) DescribeID(ctx context.Context, id model.InternalID, desc interface{}, ...) error
- func (s *Searcher) NewBatchIDs(ctx context.Context, num int) ([]model.InternalID, error)
- func (s *Searcher) NewID(ctx context.Context) (model.InternalID, error)
- func (s *Searcher) SearchID(ctx context.Context, paging model.Paging, keyword string, index searcher.Index) ([]model.InternalID, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewSearcher)
Functions ¶
This section is empty.
Types ¶
type Searcher ¶ added in v0.1.7
type Searcher struct {
// contains filtered or unexported fields
}
func NewSearcher ¶ added in v0.1.7
func NewSearcher( client searcher.LibrarianSearcherServiceClient, ) *Searcher
func (*Searcher) DescribeID ¶ added in v0.1.7
func (s *Searcher) DescribeID( ctx context.Context, id model.InternalID, desc interface{}, mode searcher.DescribeIDRequest_DescribeMode, index searcher.Index, ) error
func (*Searcher) NewBatchIDs ¶ added in v0.1.7
Click to show internal directories.
Click to hide internal directories.