The Go implementation of bRPC.
-
Go
-
Protocol buffer compiler, protoc
-
Go plugins for the protocol compiler:
$ go install google.golang.org/protobuf/cmd/[email protected] $ go install github.com/xxpbb/brpc-go/cmd/protoc-gen-go-brpc@latest
With Go module support (Go 1.11+), simply add the following import
import "github.com/xxpbb/brpc-go"
to your code, and then go [build|run|test]
will automatically fetch the
necessary dependencies.