Go to file
2017-04-03 10:15:27 +02:00
cmd refactored config to configure which services should be generated through gorpc 2016-12-21 14:46:11 +01:00
config added basic php client generation for ts rcp services 2017-02-22 08:40:05 +01:00
demo refactored config to configure which services should be generated through gorpc 2016-12-21 14:46:11 +01:00
prometheus added size to instrumentation 2017-01-27 17:18:23 +01:00
.gitignore added glide 2016-12-17 15:44:45 +01:00
build.go added basic php client generation for ts rcp services 2017-02-22 08:40:05 +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 merged arg casting 2017-04-03 10:15:27 +02:00
gorpc.go fixed types 2016-12-17 15:55:32 +01:00
gotsrpc.go merged arg casting 2017-04-03 10:15:27 +02: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
php.go added docs and throwing exception 2017-02-22 09:04:12 +01: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 centralized gopath handling 2017-02-15 15:27:40 +01:00
stats.go added response and request size to stats 2017-01-27 16:59:03 +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