search

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAnyRepo

func InitAnyRepo(es *elastic.Client) repository.AnyRepo

func InitIndexOnce

func InitIndexOnce(es *elastic.Client)

func InitSearchSvc

func InitSearchSvc(es *elastic.Client) service.SearchService

func InitSyncSvc

func InitSyncSvc(es *elastic.Client) service.SyncService

Types

type Handler

type Handler = web.Handler

type Module

type Module struct {
	SearchSvc SearchService
	SyncSvc   SyncService

	Hdl *Handler
	// contains filtered or unexported fields
}

func InitModule

func InitModule(es *elastic.Client, q mq.MQ) (*Module, error)

type SearchService

type SearchService = service.SearchService

type SyncService

type SyncService = service.SyncService

Directories

Path Synopsis
internal
web

Jump to

Keyboard shortcuts

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