gomock

Posted by 夏泽民

go get github.com/golang/mock/mockgen@v1.4.3



go-cache

Posted by 夏泽民

https://github.com/patrickmn/go-cache



proto 生成http grpc swagger

Posted by 夏泽民

方式一 protoc -I/usr/local/include -I. -Igoogle/api –swagger_out=logtostderr=true:. *.proto

方法二: go get -u github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 protoc -I . –openapiv2_out ./swagger/ –openapiv2_opt logtostderr=true *.proto



wrk 配lua脚本 ghz

Posted by 夏泽民

http 压测一般用 wrk https://github.com/wg/wrk



treafix

Posted by 夏泽民

https://traefik.cn/ https://github.com/containous/traefik



Search

Popular posts

Anything in here will be replaced on browsers that support the canvas element

Recent posts

This blog is maintained by 夏泽民

Get in touch with me at 465474307@qq.com

Subscribe to our mailing list

* indicates required