package
0.0.0-20240416064245-4b5fdb6e4873
Repository: https://github.com/deniskhanov/shorterurl.git
Documentation: pkg.go.dev
# Functions
UnaryLoggerInterceptor is a gRPC interceptor that logs information about unary RPC requests and responses.
UnaryPrivateAuthInterceptor is a gRPC interceptor that enforces authentication for specific unary RPCs.
UnaryPublicAuthInterceptor is a gRPC interceptor that performs public authentication.
UnaryTrustedSubnetsInterceptor creates a gRPC interceptor that checks whether the user's IP address belongs to trusted subnets.