An open API service indexing awesome lists of open source software.

https://github.com/gjbae1212/go-grpcpool

go-gprcpool is a pool for GRPC connections.
https://github.com/gjbae1212/go-grpcpool

go golang grpc pool

Last synced: 12 months ago
JSON representation

go-gprcpool is a pool for GRPC connections.

Awesome Lists containing this project

README

          

# go-grpcpool



license

**go-gprcpool** is a pool for GRPC connections.
It's a library for **golang**.

## Getting Started
### Install
```bash
$ go get -u github.com/gjbae1212/go-grpcpool
```

### Usage
```go
// pseudo code
package main
import (
"context"
grpcpool "github.com/gjbae1212/go-grpcpool"
)

func main() {
pool, _ := grpcpool.New(func() (*grpc.ClientConn, error){
return nil, nil // a function which creates GRPC connection.
})
conn, _ := pool.GetConn()
}
```

## LICENSE
This project is following The MIT.