Documentation ¶
Index ¶
- Variables
- type SearchResult
- type Searcher
- func (g *Searcher) DescribeID(ctx context.Context, id model.InternalID, description string) error
- func (g *Searcher) NewBatchIDs(ctx context.Context, num int) ([]int64, error)
- func (g *Searcher) NewID(ctx context.Context) (int64, error)
- func (g *Searcher) SearchID(ctx context.Context, paging model.Paging, keyword string) ([]*SearchResult, error)
- type SearcherRepo
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewSearcher)
ProviderSet is biz providers.
Functions ¶
This section is empty.
Types ¶
type SearchResult ¶ added in v0.0.9
type SearchResult struct { ID model.InternalID Rank int64 }
type Searcher ¶ added in v0.0.2
type Searcher struct {
// contains filtered or unexported fields
}
func NewSearcher ¶ added in v0.0.2
func NewSearcher(repo SearcherRepo) *Searcher
func (*Searcher) DescribeID ¶ added in v0.0.9
func (*Searcher) NewBatchIDs ¶ added in v0.0.9
Click to show internal directories.
Click to hide internal directories.