Commit Graph

31 Commits

Author SHA1 Message Date
fcd8dd1f7c minor changes for generator
* allow to split client and server generation
* allow to override options for handler

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-26 15:00:55 +03:00
c7ec840ac0 remove some runtime allocaions
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-23 16:56:11 +03:00
bce3839877 fix http client generation without openapiv2 annotation
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-19 13:00:00 +03:00
Renovate Bot
4d2af78ba7 Update module google.golang.org/protobuf to v1.26.0 2021-03-19 03:24:49 +00:00
298f123492 extract variables to dedicated file
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-28 23:42:00 +03:00
254448bf74 add client request timeout option support
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-28 01:42:29 +03:00
7b349ba1ca update micro-proto
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-28 00:38:57 +03:00
477a69fe6a use micro-proto repo
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-27 19:36:48 +03:00
Renovate Bot
5ee7c4f231 Update google.golang.org/genproto commit hash to ab064af 2021-02-26 20:45:59 +00:00
Renovate Bot
4ce41519a3 Update all deps 2021-02-25 23:28:34 +00:00
5b1f63dc98 support proto3 optional
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-25 22:11:08 +03:00
142f6dd866 grpc is not generic in micro, so name component as rpc
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-25 14:51:18 +03:00
9f2dd3ed35 allow to generate standalone code
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-25 14:44:50 +03:00
Renovate Bot
8e89b899d8 Update google.golang.org/genproto commit hash to 063164c 2021-02-24 19:47:20 +00:00
2dc9459eb8 complete fixup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-24 01:20:52 +03:00
b2f5437d6e fixup gorilla
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-24 01:20:52 +03:00
b002cbb491 fixup imports
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-24 01:20:52 +03:00
6b8fa89a69 use helper to detect import paths
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-24 01:20:52 +03:00
Renovate Bot
8d4aac8b8b Update google.golang.org/genproto commit hash to 22b48be 2021-02-23 19:25:20 +00:00
fc763a645d fix streaming methods
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-23 18:45:03 +03:00
2ef183d1b4 fix readme
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-23 15:02:09 +03:00
77f66dc9c5 add gh actions
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-23 14:56:36 +03:00
c29702ad77 fix readme
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-23 14:51:57 +03:00
764fa7111d change license
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-23 14:50:01 +03:00
d2ed42a8f3 update go.mod
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-23 14:33:21 +03:00
31c5fdba46 add license
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-23 14:31:27 +03:00
a974da658b generate error types for http
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-23 14:30:23 +03:00
e18a0f6942 complete
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-23 03:04:56 +03:00
fbb98a8b58 fixup import
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-22 23:46:19 +03:00
c865c1f665 add gorilla and chi helpers
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-22 23:42:49 +03:00
2c001628ff initial import
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-22 18:11:08 +03:00