package
1.7.16
Repository: https://github.com/vdaas/vald.git
Documentation: pkg.go.dev

# Packages

Package admin provides grpc admin metrics registration API for providing grpc metrics endpoints.
Package codes provides status codes of grpc.
Package credentials provides generic functionality for grpc credentials setting.
Package errdetails provides error detail for gRPC status.
Package health provides generic functionality for grpc health checks.
No description provided by the author
Package keepalive provides grpc keepalive configuration.
Copyright (C) 2019-2024 vdaas.org vald team <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); You may not use this file except in compliance with the License.
Package pool provides gRPC connection pool client.
Package proto provides proto file logic.
Package reflection provides grpc reflection for providing grpc server proto specs.
Package status provides statuses and errors returned by grpc handler functions.
Package types provides alias of protobuf library types.

# Functions

BidirectionalStream represents gRPC bidirectional stream server handler.
BidirectionalStreamClient is gRPC client stream.
ConnectionTimeout is a alias of grpc.ConnectionTimeout that sets the timeout for connection establishment (up to and including HTTP/2 handshaking) for all new connections.
Creds is a alias of grpc.Creds that sets credentials for server connections.
FromGRPCMethod returns the value associated with this context for key (grpcMethodContextKey).
No description provided by the author
HeaderTableSize is a alias of grpc.HeaderTableSize that sets the size of dynamic header table for stream.
InitialConnWindowSize is a alias of grpc.InitialConnWindowSize that sets window size for a connection.
InitialWindowSize is a alias of grpc.InitialWindowSize that sets window size for stream.
KeepaliveEnforcementPolicy is a alias of grpc.KeepaliveEnforcementPolicy that sets keepalive enforcement policy for the server.
KeepaliveParams is a alias of grpc.KeepaliveParams that sets keepalive and max-age parameters for the server.
MaxConcurrentStreams returns a ServerOption that will apply a limit on the number of concurrent streams to each ServerTransport.
MaxHeaderListSize is a alias of grpc.MaxHeaderListSize that sets the max (uncompressed) size of header list that the server is prepared to accept.
MaxRecvMsgSize is a alias of grpc.MaxRecvMsgSize to set the max message size in bytes the server can receive.
MaxSendMsgSize is a alias of grpc.MaxSendMsgSize to set the max message size in bytes the server can send.
No description provided by the author
No description provided by the author
NewServer returns the gRPC server.
NumStreamWorkers returns a ServerOption that sets the number of worker goroutines that should be used to process incoming streams.
ReadBufferSize is a alias of grpc.ReadBufferSize that lets you set the size of read buffer.
SharedWriteBuffer allows reusing per-connection transport write buffer.
WaitForHandlers cause Stop to wait until all outstanding method handlers have exited before returning.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithGRPCMethod returns a copy of parent in which the method associated with key (grpcMethodContextKey).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WrapGRPCMethod returns a copy of parent in which the method associated with key (grpcMethodContextKey).
WriteBufferSize is a alias of grpc.WriteBufferSize to determines how much data can be batched before doing a write on the wire.

# Constants

GRPCMethodContextKey represents a context key for gRPC method.
Name represents the codec name.

# Variables

No description provided by the author
No description provided by the author
ErrServerStopped indicates that the operation is now illegal because of the server being stopped.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Codec represents a gRPC codec.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author