Documentation ¶
Index ¶
- type Config
- type Service
- func (service *Service) DeleteModel(_ context.Context, collection string, key string) error
- func (service *Service) IndexModel(ctx context.Context, collection string, key string) (err error)
- func (service *Service) Reindex(ctx context.Context) error
- func (service *Service) Search(ctx *gin.Context, query common.SearchQuery, userToken string) (searchResult common.SearchResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is the type for the service itself
func (*Service) DeleteModel ¶
DeleteModel from index by collection and id
func (*Service) IndexModel ¶
IndexModel by collection and id
Click to show internal directories.
Click to hide internal directories.