Documentation ¶
Index ¶
- func InitAnyRepo(es *elastic.Client) repository.AnyRepo
- func InitIndexOnce(es *elastic.Client)
- func InitRepo(es *elastic.Client) (repository.CaseRepo, repository.QuestionRepo, repository.QuestionSetRepo, ...)
- func InitSearchSvc(es *elastic.Client) service.SearchService
- func InitSyncSvc(es *elastic.Client) service.SyncService
- type Handler
- type Module
- type SearchService
- type SyncService
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 InitRepo ¶
func InitRepo(es *elastic.Client) (repository.CaseRepo, repository.QuestionRepo, repository.QuestionSetRepo, repository.SkillRepo)
func InitSearchSvc ¶
func InitSearchSvc(es *elastic.Client) service.SearchService
func InitSyncSvc ¶
func InitSyncSvc(es *elastic.Client) service.SyncService
Types ¶
type Module ¶
type Module struct { SearchSvc SearchService SyncSvc SyncService Hdl *Handler // contains filtered or unexported fields }
func InitModule ¶
type SearchService ¶
type SearchService = service.SearchService
type SyncService ¶
type SyncService = service.SyncService
Click to show internal directories.
Click to hide internal directories.