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

https://github.com/oskaritimperi/nimtwirp

Twirp RPC framework for Nim
https://github.com/oskaritimperi/nimtwirp

nim nimpb protobuf protocol-buffers rpc twirp

Last synced: about 1 month ago
JSON representation

Twirp RPC framework for Nim

Awesome Lists containing this project

README

        

# A Twirp RPC framework for Nim.

A simple RPC framework using [nimpb](https://github.com/oswjk/nimpb). See
[twirp docs](https://twitchtv.github.io/twirp/docs/intro.html) for more
information about twirp.

**NOTE** Still in experimental phase. APIs can change without notice :-)

# Example

See the `example` directory for an example.

# Features

- [x] server generation from protobuf Service definition
- [x] client generation from protobuf Service definition
- [x] protobuf input/output
- [x] json input/output
- [x] asynchronous server
- [x] synchronous client
- [x] can serve multiple services easily (see [examples/multiservice](examples/multiservice))