Skip to content

borderlesshq/graphrpc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphRPC


About

GraphRPC is simply GraphQL as your RPC Contract Input & Output Layer and NATS.io as your data transmission via events. ( Request/Reply, Pub&Sub )

Appreciation & Inspirations

TODO

  • [] Subscriptions for clients (WIP)
  • TLS on server startup.

How to use

# To generate server code
# It is advised to add this command to a makefile or run the tools.go once 
printf '// +build tools\npackage tools\nimport _ "github.com/borderlesshq/graphrpc/generator/cmd"' | gofmt > tools.go
go mod tidy

# To actually generate resolvers and server entrypoint file.
go run github.com/borderlesshq/graphrpc/generator/cmd --filename server.go

About

RPC with GraphQL over Nats.io & JetStream

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.6%
  • Makefile 0.4%