Displaying 1 to 4 from 4 results

twirp - A simple RPC framework with protobuf service definitions

  •    Go

Twirp is a framework for service-to-service communication emphasizing simplicity and minimalism. It generates routing and serialization from API definition files and lets you focus on your application's logic instead of thinking about folderol like HTTP methods and paths and JSON. For more on the motivation behind Twirp (and a comparison to REST APIs and gRPC), the announcement blog post is a good read.

protoc-gen-twirpql - Generate A GraphQL Layer from A Twirp Server: https://twirpql.dev

  •    Go

A Protoc plugin that generates a GraphQL layer on top of Twirp servers. Marshals/Unmarshals ProtoBuf enums (ints) to GraphQL enums (strings).

twirp-example - Example Twirp service

  •    Go

This is an exmaple Twirp service for educational purposes. Learn more about Twirp at its website or repo. The protobuf definition for the service lives in rpc/haberdasher/haberdasher.proto. The rpc directory name is a good way to signal where your service definitions reside.

protoc-gen-twirp_swagger - Swagger generator for twirp

  •    Go

Also Note: None of the clients or servers generated from swagger support protobuf. Only json. It is a protobuf generator that creates a swagger file for your twirp services.