grpc

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: Apache-2.0 Imports: 22 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.ValdServer

Types

type Option

type Option func(*server)

func WithBackup

func WithBackup(b service.Backup) Option

func WithErrGroup

func WithErrGroup(eg errgroup.Group) Option

func WithFilters

func WithFilters(filter service.Filter) Option

func WithGateway

func WithGateway(g service.Gateway) Option

func WithMeta

func WithMeta(m service.Meta) Option

func WithReplicationCount

func WithReplicationCount(rep int) Option

func WithStreamConcurrency

func WithStreamConcurrency(c int) Option

func WithTimeout

func WithTimeout(dur string) Option

Jump to

Keyboard shortcuts

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