asyncsearches

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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) StartAsyncSearch

func (s *Service) StartAsyncSearch(
	ctx context.Context,
	ownerID int64,
	req *seqapi.StartAsyncSearchRequest,
) (*seqapi.StartAsyncSearchResponse, error)

Jump to

Keyboard shortcuts

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