in api/proto/catalog_grpc.pb.go [103:119]
func _Catalog_Registry_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RegistryRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(CatalogServer).Registry(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/eventmesh.catalog.api.protocol.Catalog/Registry",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(CatalogServer).Registry(ctx, req.(*RegistryRequest))
}
return interceptor(ctx, in, info, handler)
}