什么是RPC 维基百科是这么定义RPC的: 在分布式计算,远程过程调用(英语:Remote Procedure Call,缩写为 RPC)是一个计算机通信协议。该协议允许运行于一台计算机的程序调用另一个地址空间(通常为一个开放网络的一台计算机)的子程序,而程序员就像调用本地程序一样,无需额外地为这个 ...
分类:
其他好文 时间:
2021-04-19 15:07:49
阅读次数:
0
mac 上build go 如果想要在centos上面执行 必须使用下面的方式 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o hello hello.go 不然会报错 :cannot execute binary file ...
分类:
其他好文 时间:
2021-04-19 14:58:20
阅读次数:
0
匿名函数 ::操作符 A static method (ClassName::methName) An instance method of a particular object (instanceRef::methName) A super method of a particular obje ...
分类:
编程语言 时间:
2021-04-16 12:22:24
阅读次数:
0
pwd,打印当前目录 ls:List information about the FILEs (the current directory by default) -a/--all -d/--directory dir -a 进入如camera的目录后运行dir、ls会卡住(可以ctrl+c退出)。 ...
分类:
移动开发 时间:
2021-04-16 12:10:03
阅读次数:
0
在做STM32f405 移植过程中,编译出现了cannot open source input file "core_cmInstr.h": No such file or directory的错误,显然我们需要将core_cmInstr.h添加keil include path中,具体如下图: 查 ...
分类:
其他好文 时间:
2021-04-15 12:04:39
阅读次数:
0
远程调用出现json解析异常 操作失败,Error while extracting response for type [java.util.List<org.jeecg.modules.face.entity.FaceDevice>] and content type [application/ ...
分类:
编程语言 时间:
2021-04-14 12:42:30
阅读次数:
0
前言 做一个地图下钻的echarts,发现点击某几个县市的时候,报错Invalid geoJson format Cannot read property 'length' of undefined, 对比数据发现出现报错原因是因为数据类型中有GeometryCollection存在,但是echar ...
分类:
Web程序 时间:
2021-04-14 12:15:56
阅读次数:
0
一、全局异常处理之注解方式 主要用到的注解有2个 @ControllerAdvice 用在Controller类级别上,可看做是一个增强的Controller @ExceptionHandler 用到Controller中具体的方法上,表明这个方法处理的具体某个异常类型 我们一般在捕获到异常的时候, ...
分类:
编程语言 时间:
2021-04-14 12:09:04
阅读次数:
0
/** * 创建线程的方式三:实现Callable接口。 JDK 5.0新增 * * * 如何理解实现Callable接口的方式创建多线程比实现Runnable接口创建多线程方式强大? * 1. call()可以有返回值的。 * 2. call()可以抛出异常,被外面的操作捕获,获取异常的信息 * ...
分类:
编程语言 时间:
2021-04-13 12:25:08
阅读次数:
0
##RequestMapping RequestMapping中的method方法 method:指定请求的method类型, GET、POST、PUT、DELETE等; ##GetMapping 看一下注解的底层源码 可以看到底层用了@RequestMapping(method = Request ...
分类:
移动开发 时间:
2021-04-13 11:47:36
阅读次数:
0