Commit Graph

56 Commits

Author SHA1 Message Date
Stefan Martinov
3e8dbee6e1
TSRPC Call Cleanup (#23)
* chore: add content-length and remove argument callbacks

* chore: refactor gotsrpc client

* chore: update generated code to drain request body and re-generate
2020-03-17 16:56:14 +01:00
Jan Halfar
31387b839b support for floats and ints as keys in map types 2020-02-10 15:23:48 +01:00
Stefan Martinov
7726239eb8 feat: remove interface from entry creation
- we want to add a concrete class and if abstraction is required it's
provided by the contract
2019-11-20 14:47:38 +01:00
Stefan Martinov
b1b9a92ea1 feat: add custom alias to gotsrpc client 2019-01-21 10:58:18 +01:00
Stefan Martinov
aeba882310 feat: add http in constructor (if required) 2018-12-20 12:02:41 +01:00
Stefan Martinov
8ae28037da feat: update generator to passthrough client encoding / transport client 2018-11-30 15:24:42 +01:00
Stefan Martinov
8cee3c7df9 feat: update handling of servers & clients 2018-11-30 15:13:04 +01:00
Stefan Martinov
4d200100cd
Merge pull request #13 from foomo/release/0.12.0
Release/0.12.0
2018-11-26 15:06:53 +01:00
Stefan Martinov
80fe3d7b3d feat: update code generator protocol and add interfaces to clients 2018-11-23 14:43:33 +01:00
Predrag Cicic
04596aa359 add support for scalar types in rpc methods 2018-11-20 16:13:53 +01:00
Jan Halfar
aaef431d75 forcing ugly aliases to ensure correct imports 2018-11-16 10:19:02 +01:00
Stefan Martinov
65a84e9cb9
Add clearStats line to the generated code 2017-11-17 15:22:19 +01:00
Jan Halfar
b3976ed963 extracted renderImports 2017-10-13 10:39:41 +02:00
Stefan Martinov
8f01b3e34c Change comment information for gotsrpc to conform to generated file std 2017-09-28 11:43:04 +02:00
Stefan Martinov
130a4de884 Update generated header message to conform to golang standards
Fix issue #3
2017-09-26 16:09:53 +02:00
Jan Halfar
d0164739e2 improved interface{} support and refactored arg loading 2017-07-25 08:46:42 +02:00
Jan Halfar
5aa2ecc7fb Merge branch 'slice-args' of github.com:foomo/gotsrpc 2017-07-03 16:51:45 +02:00
Jan Halfar
d471deace5 implemented ServiceList to get determistically sorted code 2017-07-03 16:51:18 +02:00
Jan Halfar
8f7c08d090 next arg handling iteration, by passing in pointers 2017-04-03 15:45:25 +02:00
Jan Halfar
6278b6d3a4 back to number casting 2017-04-03 14:49:51 +02:00
ub
d02667d1e5 handling of string params 2017-04-03 12:17:20 +02:00
ub
6da67fa249 merged arg casting 2017-04-03 10:15:27 +02:00
ub
d0e25dffbb finetuning slice argument unmarshalling 2017-04-03 10:13:21 +02:00
franklin
99830b9e50 made gorpc client public 2017-03-20 13:39:26 +01:00
franklin
d09e436833 added basic php client generation for ts rcp services 2017-02-22 08:40:05 +01:00
Florian Schlegel
f4e3c7dd66 exposed Serve() for gorpc 2017-02-16 16:07:00 +01:00
Jan Halfar
321c12f08b made go client code generation a little safer, by prepending service names in front of request and repsonse types 2016-12-23 09:37:12 +01:00
franklin
d4a086d569 refactored config to configure which services should be generated through gorpc 2016-12-21 14:46:11 +01:00
franklin
a358cf3f03 fixed types 2016-12-17 15:55:32 +01:00
franklin
4db5128e68 added glide 2016-12-17 15:44:45 +01:00
franklin
c4193cf8d8 fixed import extraction on array types 2016-12-14 17:31:24 +01:00
franklin
3206fd98e8 renamed err to clientErr and addd scalar support 2016-12-14 15:55:02 +01:00
franklin
3be8701fd9 fix go scalar args conversion 2016-12-13 17:45:11 +01:00
franklin
68dc67cac1 fixed unnamed return values 2016-12-13 17:03:56 +01:00
franklin
d244d82c85 added go tsrpc client generation 2016-12-13 16:38:00 +01:00
Jan Halfar
f45aa83d8f implemented configurable endpoint on the server side and exposed them via NewDefault... 2016-12-03 09:49:08 +01:00
Jan Halfar
0e5d2f1d23 refactored gotsrpc.yaml => services in a target are a map now => we have default endpoints 2016-12-02 18:28:50 +01:00
Jan Halfar
a438c61de8 allowing option calls, added to do for allow origin to check referer to pick the right one 2016-12-02 18:04:05 +01:00
Jan Halfar
688ba086b7 instrumentation update 2016-11-07 18:04:52 +01:00
Jan Halfar
bafb8dd69a added initial instrumentation support
- CallStats
- a prometheus instumentation handler
2016-10-31 09:26:20 +01:00
Jan Halfar
a24d1fb926 improved slice handling 2016-10-12 16:32:36 +02:00
Jan Halfar
657fef9a78 added support for constants, fixed support for map and array types 2016-09-12 12:16:38 +02:00
Jan Halfar
51f69a8f08 services with no args in any method here you are ;) 2016-09-07 16:02:38 +02:00
Jan Halfar
017b7fb45a added 404 handling 2016-09-06 18:16:19 +02:00
Florian Schlegel
2c14bf1dba clean up 2016-08-02 15:27:41 +02:00
Florian Schlegel
20ee6ff5b3 fixed alias/package of method params 2016-08-02 15:26:37 +02:00
Florian Schlegel
24d9db534d Refactored RenderGo() and fixed packe names for method parameter. 2016-08-02 13:57:15 +02:00
Jan Halfar
8d6f30e6b4 nearing 0.1 with build file 2016-07-22 15:48:52 +02:00
Jan Halfar
df6b3449b1 preparing better demo 2016-07-22 09:24:33 +02:00
Florian Schlegel
d56bb49d60 adding support for recursive struct resolution across packages including import conflict resolution 2016-07-21 18:23:48 +02:00