Go to file
2016-10-27 18:42:51 +02:00
cmd map support, better custom scalar support, optional scalars 2016-09-16 18:13:11 +02:00
config nearing 0.1 with build file 2016-07-22 15:48:52 +02:00
demo map support, better custom scalar support, optional scalars 2016-09-16 18:13:11 +02:00
.gitignore some initial thoughts 2016-05-12 17:31:54 +02:00
build.go map support, better custom scalar support, optional scalars 2016-09-16 18:13:11 +02:00
code.go added support for constants, fixed support for map and array types 2016-09-12 12:16:38 +02:00
go.go improved slice handling 2016-10-12 16:32:36 +02:00
gotsrpc.go content-type application/json added to response header 2016-10-14 11:01:26 +02:00
Makefile added a little Makefile 2016-07-22 15:55:33 +02: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 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
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 minor cleanup 2016-10-27 18:42:51 +02: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 minor cleanup 2016-10-27 18:42:51 +02: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