package
0.0.0-20241028135139-13c92f914625
Repository: https://github.com/g0tem/go-grpc-project.git
Documentation: pkg.go.dev
# Functions
** GRPC INTERCEPTOR ** GRPC interceptor to log requests in the terminal UnaryServerInterceptor: func(ctx context.Context, req any, info *UnaryServerInfo, handler UnaryHandler) (resp any, err error).
* HTTP MIDDLEWARE
The above GrpcLogger middleware will work only for gRPC requests.
NewServer creates a new gRPC server.
# Structs
No description provided by the author
ResponseRecorder struct that implements the http.ResponseWriter interface to track the status code and response body of the HTTP response from the handler.