Go to file
2016-12-21 14:46:11 +01:00
cmd refactored config to configure which services should be generated through gorpc 2016-12-21 14:46:11 +01:00
config refactored config to configure which services should be generated through gorpc 2016-12-21 14:46:11 +01:00
demo refactored config to configure which services should be generated through gorpc 2016-12-21 14:46:11 +01:00
prometheus fixed types 2016-12-17 15:55:32 +01:00
.gitignore added glide 2016-12-17 15:44:45 +01:00
build.go refactored config to configure which services should be generated through gorpc 2016-12-21 14:46:11 +01:00
client.go added configurable transport 2016-12-14 13:44:16 +01:00
code.go added support for constants, fixed support for map and array types 2016-09-12 12:16:38 +02:00
glide.lock added glide 2016-12-17 15:44:45 +01:00
glide.yaml added glide 2016-12-17 15:44:45 +01:00
go.go refactored config to configure which services should be generated through gorpc 2016-12-21 14:46:11 +01:00
gorpc.go fixed types 2016-12-17 15:55:32 +01:00
gotsrpc.go added initial instrumentation support 2016-10-31 09:26:20 +01:00
Makefile added make demo 2016-12-14 15:51:50 +01:00
model.go fixed an issue with resolving scalar types in structs and sorting service methods in order to avoid unnessary file changes 2016-10-18 17:19:58 +02:00
reader_test.go reading ahead 2016-05-13 15:56:40 +02:00
README.md some initial thoughts 2016-05-12 17:31:54 +02:00
servicereader.go refactored gotsrpc.yaml => services in a target are a map now => we have default endpoints 2016-12-02 18:28:50 +01:00
stats.go added initial instrumentation support 2016-10-31 09:26:20 +01:00
test.js nearing 0.1 with build file 2016-07-22 15:48:52 +02:00
test.ts nearing 0.1 with build file 2016-07-22 15:48:52 +02:00
typereader.go added support for selectorExpr and StructType on arrayType 2016-12-14 15:56:22 +01:00
typescript_test.go added support for constants, fixed support for map and array types 2016-09-12 12:16:38 +02:00
typescript.go refactored config to configure which services should be generated through gorpc 2016-12-21 14:46:11 +01:00

Go TypeScript RPC

Where to define this ?!

gotsrpc -ts-target path/to/local/whatever.ts -ts-module My.Module.Foo my/package/path ServiceStructA [ServiceStructB ...]
gotsrpc build gotsrpc.yml
---
# gotsrpc.yml
targets:
  -
    package: my/package/path
    expose:
      - ServiceStructA
      - ServiceStructB
    ts:
        module: My.Module.Foo
        target: path/to/local/whatever.ts