Skip to content

sergei-svistunov/gorpc

Repository files navigation

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