什么是RPC 维基百科是这么定义RPC的: 在分布式计算,远程过程调用(英语:Remote Procedure Call,缩写为 RPC)是一个计算机通信协议。该协议允许运行于一台计算机的程序调用另一个地址空间(通常为一个开放网络的一台计算机)的子程序,而程序员就像调用本地程序一样,无需额外地为这个 ...
分类:
其他好文 时间:
2021-04-19 15:07:49
阅读次数:
0
前言: 手写GO用反射读取ini配置文件。 实例代码: package main import ( "errors" "fmt" "io/ioutil" "reflect" "strconv" "strings" ) // ini配置文件解析器 // MysqlConfig MySQL配置结构体 t ...
分类:
其他好文 时间:
2021-04-19 15:03:58
阅读次数:
0
1、 opar <- par(no.readonly = T) par(fig=c(0,0.8,0,0.8)) plot(mtcars$wt,mtcars$mpg) par(fig=c(0,0.8,0.60,1),new= T) boxplot(mtcars$wt,axes = F,horizont ...
分类:
编程语言 时间:
2021-04-19 15:03:04
阅读次数:
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
在使用Log4j的类中导入包 import org.apache.log4j.Logger; 日志对象,参数为当前类的class static Logger logger = Logger.getLogger(UserDaoTest.class); //LogDemo为相关的类 日志级别: logg ...
分类:
其他好文 时间:
2021-04-19 14:56:03
阅读次数:
0
翻转一棵二叉树。 示例: 输入: 4 / \ 2 7 / \ / \1 3 6 9输出: 4 / \ 7 2 / \ / \9 6 3 1 来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/invert-binary-tree著作权归领扣网络所有。 ...
分类:
其他好文 时间:
2021-04-19 14:42:03
阅读次数:
0
public class MyInfo { public string Name { get; set; } public double Diff { get; set; } public string File { get; set; } } static void Main(string[] a ...
今天操作数据库一不小心将很重要的数据删除了,找备份也没有,幸好Oracle有闪回的功能。 Flashback table pb_acc_user to timestamp to_timestamp ('2014-0315 09:30:00','yyyy-mm-dd hh24:mi:ss'); 提示O ...
分类:
移动开发 时间:
2021-04-19 14:33:45
阅读次数:
0
给定一个包含 n + 1 个整数的数组 nums ,其数字都在 1 到 n 之间(包括 1 和 n),可知至少存在一个重复的整数。 假设 nums 只有 一个重复的整数 ,找出 这个重复的数 。 示例 1: 输入:nums = [1,3,4,2,2]输出:2示例 2: 输入:nums = [3,1, ...
分类:
编程语言 时间:
2021-04-16 12:14:38
阅读次数:
0
1 import Home from '../views/Home.vue' { path: '/', name: 'Home', component: Home }, 2 { path: '/about', name: 'About', component: () => import('../vi ...
分类:
其他好文 时间:
2021-04-16 12:13:05
阅读次数:
0