Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 500e8c0 commit 668704dCopy full SHA for 668704d
server.go
@@ -87,6 +87,7 @@ func init() {
87
var statusOK = status.New(codes.OK, "")
88
var logger = grpclog.Component("core")
89
90
+// MethodHandler is a function type that processes a unary RPC method call.
91
type MethodHandler func(srv any, ctx context.Context, dec func(any) error, interceptor UnaryServerInterceptor) (any, error)
92
93
// MethodDesc represents an RPC service's method specification.
0 commit comments