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
- Host: GitHub
- URL: https://github.com/oskaritimperi/nimtwirp
- Owner: oskaritimperi
- License: mit
- Created: 2018-04-14T10:35:20.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-17T05:55:14.000Z (over 6 years ago)
- Last Synced: 2025-04-09T16:18:34.525Z (about 1 month ago)
- Topics: nim, nimpb, protobuf, protocol-buffers, rpc, twirp
- Language: Nim
- Size: 17.6 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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))