features/ directory
Directories ΒΆ
Path | Synopsis |
---|---|
features/advancedtls | |
features/advancedtls/client | Binary client is an example client demonstrating use of advancedtls, to set up a secure gRPC client connection with various TLS authentication methods. |
features/advancedtls/server | Binary server is an example client demonstrating how to set up a secure gRPC server using advancedtls. |
features/authentication | |
features/authentication/client | The client demonstrates how to supply an OAuth2 token for every RPC. |
features/authentication/server | The server demonstrates how to consume and validate OAuth2 tokens provided by clients for each RPC. |
features/authz | |
features/authz/client | Binary client demonstrates how to include authorization credentials in the form of metadata in every RPC for server side validation. |
features/authz/server | Binary server demonstrates how to validate authorization credential metadata for incoming RPCs. |
features/authz/token | Package token implements an example of authorization token encoding/decoding that can be used in RPC headers. |
features/cancellation | |
features/cancellation/client | Binary client demonstrates how to cancel in-flight RPCs by canceling the context passed to the RPC. |
features/cancellation/server | Binary server demonstrates how to handle canceled contexts when a client cancels an in-flight RPC. |
features/compression | |
features/compression/client | Binary client demonstrates how to specify compression options when performing RPCs. |
features/compression/server | Binary server demonstrates how to install and support compressors for incoming RPCs. |
features/csm_observability | |
features/csm_observability/client | Binary client is a client for the CSM Observability example. |
features/csm_observability/server | Binary server is a server for the CSM Observability example. |
features/customloadbalancer | |
features/customloadbalancer/client | Binary client is a client for the custom load balancer example. |
features/customloadbalancer/client/customroundrobin | Package customroundrobin provides an example for the custom roundrobin balancer. |
features/customloadbalancer/server | Binary server is a server for the custom load balancer example. |
features/deadline | |
features/deadline/client | Binary client demonstrates how to set deadlines for RPCs and how to handle deadline-exceeded errors. |
features/deadline/server | Binary server demonstrates how to handle RPCs with deadlines and how to propagate deadlines in requests. |
features/debugging | |
features/debugging/client | Binary client demonstrates how to use logging and Channelz for debugging gRPC operations. |
features/debugging/server | Binary server demonstrates how to enable logging and Channelz for debugging gRPC services. |
features/dualstack | |
features/dualstack/client | Binary client is a client for the dualstack example. |
features/dualstack/server | Binary server is a server for the dualstack example. |
features/encryption | |
features/encryption/ALTS | |
features/encryption/ALTS/client | Binary client demonstrates how to use ALTS credentials for secure gRPC communication. |
features/encryption/ALTS/server | Binary server demonstrates how to use ALTS credentials to secure gRPC services. |
features/encryption/mTLS | |
features/encryption/mTLS/client | Binary client is an example client which connects to the server using mTLS. |
features/encryption/mTLS/server | Binary server is an example server which authenticates clients using mTLS. |
features/encryption/TLS | |
features/encryption/TLS/client | Binary client demonstrates how to use TLS credentials for secure gRPC communication. |
features/encryption/TLS/server | Binary server demonstrates how to use TLS credentials to secure gRPC services. |
features/error_details | |
features/error_details/client | Binary client demonstrates how to handle error messages from a gRPC server. |
features/error_details/server | Binary server demonstrates how to provide error messages in gRPC responses. |
features/error_handling | |
features/error_handling/client | Binary client demonstrates how to handle errors returned by a gRPC server. |
features/error_handling/server | Binary server demonstrates how to return specific error codes in gRPC responses. |
features/flow_control | |
features/flow_control/client | Binary client demonstrates how the gRPC flow control blocks sending when the receiver is not ready. |
features/flow_control/server | Binary server demonstrates how gRPC flow control block sending when the receiver is not ready. |
features/gracefulstop | |
features/gracefulstop/client | Binary client demonstrates sending multiple requests to server and observe graceful stop. |
features/gracefulstop/server | Binary server demonstrates how to gracefully stop a gRPC server. |
features/health | |
features/health/client | Binary client demonstrates how to check and observe gRPC server health using the health library. |
features/health/server | Binary server demonstrates how to manage and report its health status using the gRPC health library. |
features/interceptor | |
features/interceptor/client | Binary client demonstrates how to use interceptors to observe or control the behavior of gRPC including logging, authentication,metrics collection, etc. |
features/interceptor/server | Binary server demonstrates how to use interceptors to observe or control the behavior of gRPC including logging, authentication,metrics collection, etc. |
features/keepalive | |
features/keepalive/client | Binary client demonstrates how to configure keepalive pings to maintain connectivity and detect stale connections. |
features/keepalive/server | Binary server demonstrates how to enforce keepalive settings and manage idle connections to maintain active client connections. |
features/load_balancing | |
features/load_balancing/client | Binary client demonstrates how to configure load balancing policies to distribute RPCs across backend servers. |
features/load_balancing/server | Binary server demonstrates how to spin up multiple server backends to enable client-side load balancing. |
features/metadata | |
features/metadata/client | Binary client demonstrates how to send and receive metadata to and from an RPC. |
features/metadata_interceptor | |
features/metadata_interceptor/client | Binary client demonstrates how to receive metadata in RPC headers and trailers. |
features/metadata_interceptor/server | Binary server demonstrates how to update metadata from interceptors on server. |
features/metadata/server | Binary server demonstrates how to send and read metadata to and from RPC. |
features/multiplex | |
features/multiplex/client | Binary client demonstrates how to use a single grpc.ClientConn for multiple service stubs. |
features/multiplex/server | Binary server demonstrates how to use a single grpc.Server instance to register and serve multiple services. |
features/name_resolving | |
features/name_resolving/client | Binary client demonstrates how to use custom name resolvers to resolve server backend addresses. |
features/name_resolving/server | Binary server demonstrates how to set up a gRPC server that listens on a specified port for name resolution examples. |
features/observability | |
features/observability/client | Binary client demonstrates how to instrument RPCs with logging, metrics, and tracing. |
features/observability/server | Binary server demonstrates how to instrument RPCs for logging, metrics, and tracing. |
features/opentelemetry | |
features/opentelemetry/client | Binary client is a client for the OpenTelemetry example. |
features/opentelemetry/server | Binary server is a server for the OpenTelemetry example. |
features/orca | |
features/orca/client | Binary client demonstrates the use of a custom LB policy that handles ORCA per-call and out-of-band metrics for load reporting. |
features/orca/server | Binary server demonstrates how to use ORCA for reporting out-of-band and per-RPC load metrics. |
features/proto | |
features/proto/echo | |
features/reflection | |
features/reflection/server | Binary server demonstrates how to register multiple services and enable client discovery. |
features/retry | |
features/retry/client | Binary client demonstrates how to enable and configure retry policies for gRPC requests. |
features/retry/server | Binary server demonstrates to enforce retries on client side. |
features/stats_monitoring | |
features/stats_monitoring/client | Binary client is an example client to illustrate the use of the stats handler. |
features/stats_monitoring/server | Binary server is an example server to illustrate the use of the stats handler. |
features/stats_monitoring/statshandler | Package statshandler is an example pkg to illustrate the use of the stats handler. |
features/unix_abstract | |
features/unix_abstract/client | Binary client is an example client which dials a server on an abstract unix socket. |
features/unix_abstract/server | Binary server is an example server listening for gRPC connections on an abstract unix socket. |
features/wait_for_ready | Binary wait_for_ready is an example for "wait for ready". |
features/xds | |
features/xds/client | Binary main implements a client for Greeter service using gRPC's client-side support for xDS APIs. |
features/xds/server | Binary server demonstrated gRPC's support for xDS APIs on the server-side. |
- Version
- v0.0.0-20250418172310-54e7e26a1f32 (latest)
- Published
- Apr 18, 2025
- Platform
- linux/amd64
- Last checked
- 1 minute ago –
Tools for package owners.