grpc

package
v1.7.7 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package grpc provides grpc server logic

Package grpc provides grpc server logic

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) vald.ServerWithFilter

Types

type Option

type Option func(*server)

func WithDistanceFilterTargets

func WithDistanceFilterTargets(addrs ...string) Option

func WithEgressFilterClient

func WithEgressFilterClient(c egress.Client) Option

func WithErrGroup

func WithErrGroup(eg errgroup.Group) Option

func WithIP added in v1.6.0

func WithIP(ip string) Option

WithIP returns the option to set the IP for server.

func WithIngressFilterClient

func WithIngressFilterClient(c ingress.Client) Option

func WithInsertFilterTargets

func WithInsertFilterTargets(addrs ...string) Option

func WithName added in v1.6.0

func WithName(name string) Option

WithName returns the option to set the name for server.

func WithObjectFilterTargets

func WithObjectFilterTargets(addrs ...string) Option

func WithSearchFilterTargets

func WithSearchFilterTargets(addrs ...string) Option

func WithStreamConcurrency

func WithStreamConcurrency(c int) Option

func WithUpdateFilterTargets

func WithUpdateFilterTargets(addrs ...string) Option

func WithUpsertFilterTargets

func WithUpsertFilterTargets(addrs ...string) Option

func WithValdClient

func WithValdClient(g vald.Client) Option

func WithVectorizerTargets

func WithVectorizerTargets(addr string) Option

Jump to

Keyboard shortcuts

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