其他分享
首页 > 其他分享> > rpc调试工具grpcui的安装使用

rpc调试工具grpcui的安装使用

作者:互联网

安装grpc测试工具grpcui

安装地址

https://github.com/fullstorydev/grpcui

安装

go get github.com/fullstorydev/grpcui/...
go install github.com/fullstorydev/grpcui/cmd/grpcui

添加环境变量

这里为了方便直接把整个gopath下的bin都添加到环境变量的path目录了,方便以后通过go get自动安装的软件单独添加(go get安装,会自定编译安装二进制到gopath/bin文件夹,-u则会下载最新版本)

在这里插入图片描述

启动

9000是本地rpc服务的端口,启动成功会自动打开web的界面

C:\Users\Administrator>grpcui -plaintext 127.0.0.1:9000
gRPC Web UI available at http://127.0.0.1:59209/

使用

整个自己摸索即可
在这里插入图片描述

标签:github,get,grpcui,rpc,go,安装,调试,fullstorydev
来源: https://blog.csdn.net/lengyue1084/article/details/118959238