Giter Site home page Giter Site logo

bookerzzz / grpc-go Goto Github PK

View Code? Open in Web Editor NEW

This project forked from grpc/grpc-go

0.0 8.0 0.0 3.51 MB

The Go language implementation of gRPC. HTTP/2 based RPC

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.16% Go 92.97% Protocol Buffer 6.61% Shell 0.27%

grpc-go's Introduction

#gRPC-Go

Build Status GoDoc

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 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 google.golang.org/grpc

Prerequisites

This requires Go 1.5 or later.

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.

Status

GA

grpc-go's People

Contributors

iamqizhao avatar menghanl avatar yangzhouhan avatar tamird avatar dsymonds avatar bradfitz avatar wonderfly avatar markdroth avatar bufdev avatar makmukhi avatar gxb5443 avatar sajmani avatar stanley-cheung avatar nussjustin avatar lisafc avatar heyitsanthony avatar jboeuf avatar stevvooe avatar petermattis avatar mugurm avatar matttproud avatar oaktowner avatar broady avatar awpr avatar zellyn avatar tbetbetbe avatar pongad avatar keijiyoshida avatar cdesousa avatar alexmullins avatar

Watchers

Marcel Dumont avatar HirokiYasui avatar Geert-Johan Riemer avatar James Cloos avatar Laurentiu Ilie avatar Oytun Yilmaz avatar Eric Feliksik avatar Giuseppe avatar

grpc-go's Issues

Panic around "transport is closing" scenarios

There seems to be a panic under specific conditions:

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x34ddac]

goroutine 22075 [running]:
panic(0x5061f8, 0x10e24030)
        /home/gm42/source/go/src/runtime/panic.go:481 +0x330
.../vendor/google.golang.org/grpc/transport.(*http2Client).CloseStream(0x12ee9320, 0x0, 0x0, 0x0)
        /home/gm42/.../vendor/google.golang.org/grpc/transport/http2_client.go:489 +0xb4
.../vendor/google.golang.org/grpc/transport.newHTTP2Client(0x76d8d228, 0x1302b280, 0x11142480, 0x21, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /home/gm42/.../vendor/google.golang.org/grpc/transport/http2_client.go:246 +0x13ac
.../vendor/google.golang.org/grpc/transport.NewClientTransport(0x76d8d228, 0x1302b280, 0x11142480, 0x21, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        .../lsmd/vendor/google.golang.org/grpc/transport/transport.go:385 +0x9c
.../vendor/google.golang.org/grpc.(*addrConn).resetTransport(0x1117b760, 0x11382700, 0x0, 0x0)
        .../vendor/google.golang.org/grpc/clientconn.go:694 +0x428
.../vendor/google.golang.org/grpc.(*ClientConn).resetAddrConn(0x11359400, 0x11142480, 0x21, 0x0, 0x0, 0x11185800, 0x0, 0x0, 0x0, 0x0)
        .../vendor/google.golang.org/grpc/clientconn.go:480 +0x46c
.../vendor/google.golang.org/grpc.DialContext.func2(0x11359400, 0x11142480, 0x21, 0x0, 0x0, 0x11868f40, 0x11185820)
        .../vendor/google.golang.org/grpc/clientconn.go:315 +0x194
created by .../vendor/google.golang.org/grpc.DialContext
        .../vendor/google.golang.org/grpc/clientconn.go:321 +0x4d0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.