github.com/sergei-svistunov/gorpc

Go RPC server wirh autogenerated documentation


License
GPL-2.0
Install
go get github.com/sergei-svistunov/gorpc

Documentation

gorpc

GoDoc Build Status

Framework for building Go RPC server with versioned handlers and autogenerated documentation without code generation. You just write code and don't think about transport and documentation.

Idea

You write handlers in native Go (with some restrictions), register them in HandlersManager, add transport implementation and documentation's UI to your application and it's all, now you have RPC API with documentation. Documentation will update automatically if you add or change handlers.

Packages

  • github.com/sergei-svistunov/gorpc: framework's core
  • github.com/sergei-svistunov/gorpc/transport/http_json: transport's implementation over HTTP with serialization into JSON
  • github.com/sergei-svistunov/gorpc/swagger_ui: Swagger UI in one Go library