es

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2023 License: GPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScoreSort = internal.ScoreSorter
)

Variables

View Source
var Sorters = map[int]esp.EsSorter{
	ScoreSort: (*esp.ScoreSorter)(nil),
}

Functions

This section is empty.

Types

type UserEsModel

type UserEsModel interface {
	SearchUser(ctx context.Context, name string, popts *paginator.PaginationOptions, sorter int) ([]*internal.User, int64, error)
}

func NewUserModel

func NewUserModel(db string, es config.ElasticsearchConf) UserEsModel

Jump to

Keyboard shortcuts

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