Categorygithub.com/skipor/grpc-go
repositorypackage
1.11.3
Repository: https://github.com/skipor/grpc-go.git
Documentation: pkg.go.dev

# Packages

Package balancer defines APIs for load balancing in gRPC.
Package benchmark implements the building blocks to setup end-to-end gRPC benchmarks.
Package codes defines the canonical error codes used by gRPC.
Package connectivity defines connectivity semantics.
Package credentials implements various credentials supported by gRPC library, which encapsulate all the state needed by a client to authenticate with a server and make various assertions, e.g., about the client's identity, role, or whether it is authorized to make a particular call.
Package encoding defines the interface for the compressor and codec, and functions to register and retrieve compressors and codecs.
No description provided by the author
No description provided by the author
Package grpclog defines logging for grpc.
Package health provides some utility functions to health-check a server.
No description provided by the author
Package keepalive defines configurable parameters for point-to-point healthcheck.
Package metadata define the structure of the metadata supported by gRPC library.
Package naming defines the naming API and related data structures for gRPC.
Package peer defines various peer information associated with RPCs and corresponding utils.
Package reflection implements server reflection service.
Package resolver defines APIs for name resolution in gRPC.
Package stats is for collecting and reporting various network and RPC stats.
Package status implements errors returned by gRPC.
No description provided by the author
Package tap defines the function handles which are executed on the transport layer of gRPC-Go and related information.
No description provided by the author
Package transport defines and implements message oriented communication channel to complete various transactions (e.g., an RPC).

# README

gRPC-Go

Build Status GoDoc GoReportCard

The Go implementation of gRPC: A high performance, open source, general RPC framework that puts mobile and HTTP/2 first. For more information see the gRPC Quick Start: Go guide.

Installation

To install this package, you need to install Go and setup your Go workspace on your computer. The simplest way to install the library is to run:

$ go get -u google.golang.org/grpc

Prerequisites

This requires Go 1.6 or later. Go 1.7 will be required soon.

Constraints

The grpc package should only depend on standard Go packages and a small number of exceptions. If your contribution introduces new dependencies which are NOT in the list, you need a discussion with gRPC-Go authors and consultants.

Documentation

See API documentation for package and API descriptions and find examples in the examples directory.

Performance

See the current benchmarks for some of the languages supported in this dashboard.

Status

General Availability Google Cloud Platform Launch Stages.

FAQ

Compiling error, undefined: grpc.SupportPackageIsVersion

Please update proto package, gRPC package and rebuild the proto files:

  • go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
  • go get -u google.golang.org/grpc
  • protoc --go_out=plugins=grpc:. *.proto