Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadExampleDb ¶
func LoadExampleDb() map[string]dto.GameResult
func LoadExampleDbIndexes ¶
func LoadExampleDbIndexes() []string
Types ¶
type GameSearch ¶
type GameSearch struct {
// contains filtered or unexported fields
}
func NewGameSearch ¶
func NewGameSearch(logger *zap.SugaredLogger, es *elasticsearch.Client) *GameSearch
func (*GameSearch) SearchGames ¶
func (s *GameSearch) SearchGames(query string) []dto.GameResult
Click to show internal directories.
Click to hide internal directories.