Go to file
2016-07-13 09:24:24 +02:00
cmd ts fixes, better stderr and stdout handling 2016-07-01 18:02:47 +02:00
demo ts fixes, better stderr and stdout handling 2016-07-01 18:02:47 +02:00
.gitignore some initial thoughts 2016-05-12 17:31:54 +02:00
code.go further developing program, completing layout 2016-05-29 12:07:39 +02:00
go.go idiomatic ts method names are lcfirst 2016-07-13 09:24:24 +02:00
gotsrpc.go ts fixes, better stderr and stdout handling 2016-07-01 18:02:47 +02:00
model.go further developing program, completing layout 2016-05-29 12:07:39 +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 only reading public methods 2016-07-04 16:36:09 +02:00
typereader.go ts fixes, better stderr and stdout handling 2016-07-01 18:02:47 +02:00
typescript.go idiomatic ts method names are lcfirst 2016-07-13 09:24:24 +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