Registry / networking / bufbuild-connect-go

bufbuild-connect-go

JSON →
library1.10.0gogounverified

Package connect is a slim RPC framework built on Protocol Buffers and net/http, wire-compatible with gRPC and gRPC-Web.

go get github.com/bufbuild/connect-go
INSTALL
IMPORT
SIG · BUFBUILD-CONNECT-G
B
bufbuild-connect-go
networkinggov1.10.0
harness data pending
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.

connect
github.com/bufbuild/connect-go

Create a Connect RPC client and call a Greet method.

package main import ( "context" "fmt" "github.com/bufbuild/connect-go" greetv1 "example/gen/greet/v1" "net/http" ) func main() { client := connect.NewClient[greetv1.GreetServiceClient]( http.DefaultClient, "http://localhost:8080", ) res, err := client.Greet(context.Background(), connect.NewRequest(&greetv1.GreetRequest{Name: "World"})) if err != nil { panic(err) } fmt.Println(res.Msg.Greeting) }
Debug
Known issues
breakingConnect-Go v1.10.0 requires Go 1.19+ and uses generics.
fix
Ensure your Go version is 1.19 or later.
affects: >=1.10.0
Upgrade
Version history
1.10.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
14
Amazon
1
OpenAI (training)
1
Resources
bufbuild-connect-go — go get bufbuild-connect-go · libregistry