RPC in Go using Twitch's Twirp

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • connect-go

    Discontinued Moved to https://github.com/connectrpc/connect-go

  • Yes, and it's pretty great. I've been using it for all my projects, having converted a number of codebases over to it from the default gRPC library with very little effort: https://github.com/bufbuild/connect-go

  • grpc-web

    gRPC Web implementation for Golang and TypeScript (by improbable-eng)

  • What I like with gRPC is that it allows both client and server side streaming. Twirp seems to not have this feature at all. In contrast the https://github.com/improbable-eng/grpc-web even supports server and client streaming while wrapping gRPC in a HTTP1.1 Web connection.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • grpcurl

    Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers

  • You can use grpcurl to achieve this effect: https://github.com/fullstorydev/grpcurl

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts