Skip to content
This repository was archived by the owner on Oct 16, 2022. It is now read-only.

growerlab/go-git-grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-git-grpc

支持GRPC的go-git

  • 通过grpc远程调用 go-git 读取仓库信息
  • 通过grpc远程调用 receive-pack、upload-pack 命令完成推拉操作
  • growerlab/hulk 为 hooks 目录下的钩子程序(将提供推拉操作产生的事件、分支保护、文件保护等功能)

测试

  • 执行 test/init.sh 初始化测试仓库
  • 执行 test/test.go 测试grpc的go-git
  • 执行 test/test_door 测试grpc的git推、拉

性能

待测

生成 proto

打开 https://github.com/protocolbuffers/protobuf/releases 下载protoc编译器:protoc-xxx-osx-x86_64.zip 将 bin/protoc 移动 $GOPATH/bin 目录下。

$ go get google.golang.org/protobuf/cmd/protoc-gen-go \
         google.golang.org/grpc/cmd/protoc-gen-go-grpc

$ protoc --go_out=$GOPATH/src --go-grpc_out=$GOPATH/src pb/storer.proto --plugin=grpc

About

grpc for go-git

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors