searchsvc

package
v0.41.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*cfg)

Option represents Service constructor option.

func WithInternalService

func WithInternalService(v *searchsvc.Service) Option

WithInternalService returns option to set entity that handles request payload.

func WithKeyStorage added in v0.13.0

func WithKeyStorage(ks *objutil.KeyStorage) Option

WithKeyStorage returns option to set local private key storage.

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service implements Search operation of Object service v2.

func NewService

func NewService(opts ...Option) *Service

NewService constructs Service instance from provided options.

func (*Service) Search

func (s *Service) Search(req *objectV2.SearchRequest, stream objectSvc.SearchStream) error

Search calls internal service and returns v2 object stream.

Jump to

Keyboard shortcuts

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