Registry /
networking / processout-grpc-go-pool
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
grpcpool
✓ github.com/processout/grpc-go-pool
Create a gRPC connection pool with min 1, max 3 connections.
package main
import (
"fmt"
"github.com/processout/grpc-go-pool"
)
func main() {
pool, err := grpcpool.New(func() (*grpc.ClientConn, error) {
return grpc.Dial("localhost:50051", grpc.WithInsecure())
}, 1, 3, 0)
if err != nil {
panic(err)
}
defer pool.Close()
fmt.Println("Pool created")
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.3.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.