package
0.0.0-20250305165956-269064b29c6f
Repository: https://github.com/bryk-io/pkg.git
Documentation: pkg.go.dev

# Functions

Logging produce output for the processed RPC requests tagged with standard ECS details by default.
Metadata middleware adds the provided payload data to the context of every request (unary and stream) before sending it to the server.
PanicRecovery allows the client to convert unhandled panic events into an "internal" RPC error.
RateLimit enforce a maximum limit of RPC requests per-second on the client.
Retry failed requests up to the `limit` number of attempts specified.

# Interfaces

Interceptor defines a simplified version of the `drpcconn.Conn` interface for elements wishing to extend the client's RPC processing functionality using middleware pattern.

# Type aliases

LoggingHook provides a mechanism to extend a message fields just before is submitted.
Middleware elements allow to customize and extend the RPC requests processing by the client.