server

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2023 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunHttpServer

func RunHttpServer(ctx context.Context, config cfg.Config) job.WithGracefulShutdown

func RunServer

func RunServer(ctx context.Context, config cfg.Config) job.WithGracefulShutdown

Types

type SearchServiceServer

type SearchServiceServer struct {
	pb.UnimplementedSearchServiceServer
	// contains filtered or unexported fields
}

func NewSearchServiceServer

func NewSearchServiceServer(
	i2v img2vec.Img2Vec,
	searchHandler search.Handler,
	fetcher productmeta.Fetcher,
	rankers map[pb.Ranker]rank.Ranker,
	objectDetector od.ObjectDetector,
	logSearchImage bool,
) *SearchServiceServer

func (*SearchServiceServer) AsyncSearch added in v0.2.0

func (*SearchServiceServer) Crop

func (*SearchServiceServer) Search

Jump to

Keyboard shortcuts

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