Documentation
¶
Index ¶
- type Service
- func (s *Service) CancelAsyncSearch(ctx context.Context, ownerID int64, req *seqapi.CancelAsyncSearchRequest) (*seqapi.CancelAsyncSearchResponse, error)
- func (s *Service) DeleteAsyncSearch(ctx context.Context, ownerID int64, req *seqapi.DeleteAsyncSearchRequest) (*seqapi.DeleteAsyncSearchResponse, error)
- func (s *Service) FetchAsyncSearchResult(ctx context.Context, req *seqapi.FetchAsyncSearchResultRequest) (*seqapi.FetchAsyncSearchResultResponse, error)
- func (s *Service) GetAsyncSearchesList(ctx context.Context, req *seqapi.GetAsyncSearchesListRequest) (*seqapi.GetAsyncSearchesListResponse, error)
- func (s *Service) StartAsyncSearch(ctx context.Context, ownerID int64, req *seqapi.StartAsyncSearchRequest) (*seqapi.StartAsyncSearchResponse, 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
}
func New ¶
func New( ctx context.Context, repo repository.AsyncSearches, seqDB seqdb.Client, admins []string, ) *Service
func (*Service) CancelAsyncSearch ¶
func (s *Service) CancelAsyncSearch( ctx context.Context, ownerID int64, req *seqapi.CancelAsyncSearchRequest, ) (*seqapi.CancelAsyncSearchResponse, error)
func (*Service) DeleteAsyncSearch ¶
func (s *Service) DeleteAsyncSearch( ctx context.Context, ownerID int64, req *seqapi.DeleteAsyncSearchRequest, ) (*seqapi.DeleteAsyncSearchResponse, error)
func (*Service) FetchAsyncSearchResult ¶
func (s *Service) FetchAsyncSearchResult( ctx context.Context, req *seqapi.FetchAsyncSearchResultRequest, ) (*seqapi.FetchAsyncSearchResultResponse, error)
func (*Service) GetAsyncSearchesList ¶
func (s *Service) GetAsyncSearchesList( ctx context.Context, req *seqapi.GetAsyncSearchesListRequest, ) (*seqapi.GetAsyncSearchesListResponse, error)
func (*Service) StartAsyncSearch ¶
func (s *Service) StartAsyncSearch( ctx context.Context, ownerID int64, req *seqapi.StartAsyncSearchRequest, ) (*seqapi.StartAsyncSearchResponse, error)
Click to show internal directories.
Click to hide internal directories.