/brpc-go

The Go language implementation of bRPC.

Primary LanguageGoApache License 2.0Apache-2.0

bRPC-Go

The Go implementation of bRPC.

Prerequisites

  • Go

  • Protocol buffer compiler, protoc

  • Go plugins for the protocol compiler:

    $ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28
    $ go install github.com/xxpbb/brpc-go/cmd/protoc-gen-go-brpc@latest

Installation

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.