打赏
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 54 下一页
摘要: 1.添加集群  2. 选择自定义  3.填写集群名称,配置网络和节点,可选择默认  4.生成集群节点  5.配置企业微信通知,如编译成功、失败会自动推送消息到企业微信    6.设置代码仓库  7. 进行gitlab认证,Rancher需要拉取代码,所以需要认证  选择gitl 阅读全文
posted @ 2020-05-21 16:50 苍山落暮 阅读(2491) 评论(0) 推荐(0)
摘要: 1.下载地址 https://www.consul.io/downloads.html 2.安装 3.验证 4.启动 5.查看consul cluster中的每一个consul节点的信息 6.访问界面 http://127.0.0.1:8500/ui/ 相关链接 https://juejin.im/ 阅读全文
posted @ 2020-05-20 15:21 苍山落暮 阅读(152) 评论(0) 推荐(0)
摘要: 1.Linux安装 curl -L https://github.com/coreos/etcd/releases/download/v3.3.2/etcd-v3.3.2-linux-amd64.tar.gz -o etcd-v3.3.2-linux-amd64.tar.gz tar zxf etc 阅读全文
posted @ 2020-05-19 16:55 苍山落暮 阅读(995) 评论(0) 推荐(0)
摘要: idea http client使用 相关链接 https://www.jianshu.com/p/2404654d655a https://blog.csdn.net/u012954706/article/details/89383076 阅读全文
posted @ 2020-05-19 11:40 苍山落暮 阅读(505) 评论(0) 推荐(0)
摘要: 1.路由信息 2.Controller实现 阅读全文
posted @ 2020-05-19 10:35 苍山落暮 阅读(3502) 评论(0) 推荐(0)
摘要: beego 限速 路由之前调用 具体实现 func rateLimit(r rateLimiter, ctx context.Context) { var ( limiterCtx limiter.Context ip net.IP err error req = ctx.Request ) if 阅读全文
posted @ 2020-05-19 10:10 苍山落暮 阅读(443) 评论(0) 推荐(0)
摘要: go redis初始化 1.创建连接池 2.RedisPool简单使用 阅读全文
posted @ 2020-05-19 09:54 苍山落暮 阅读(331) 评论(0) 推荐(0)
摘要: 1.Echo中使用链路追踪 2.Echo 中使用JWT,验证token 3. JWT详解 4.JWT验证网站: https://jwt.io/ https://jwt.io/introduction/ https://zhuanlan.zhihu.com/p/27370773 阅读全文
posted @ 2020-05-15 15:56 苍山落暮 阅读(1058) 评论(0) 推荐(0)
摘要: Makefile语法 1.在命令的前面加上@,就可以关闭回声。 2.伪目标 3.内置变量 BINARY="example" VERSION=1.0.0 BUILD= PACKAGES= VETPACKAGES= GOFILES= default: @go build o ${BINARY} tags 阅读全文
posted @ 2020-05-15 15:51 苍山落暮 阅读(212) 评论(0) 推荐(0)
摘要: swag ui安装部署 1.安装nodejs 2.配置淘宝镜像 3.安装express 4.克隆swagger ui代码 5.新建node/public文件夹,并拷贝dist文件 6.在node中创建index.js文件 7.运行 8.docker的部署方式 9.swagger editor安装 1 阅读全文
posted @ 2020-05-15 09:27 苍山落暮 阅读(723) 评论(0) 推荐(0)
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 54 下一页