Commit Graph

26 Commits

Author SHA1 Message Date
3a3d77169c
interceptors: migrate to otel and add logging interceptor
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2024-10-17 17:15:05 +02:00
c0c19683cf
add h2c/http2 support with WithoutCmux option
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-09-16 16:21:51 +02:00
2f163ab7d1
logger: add WithReportCaller and Clone
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-08-04 22:47:21 +02:00
df505b58d7
rename module grpc-toolkit
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-07-08 01:33:10 +02:00
82d04d63b6
refactor: remove ioutil module usage
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-11 12:27:30 +01:00
ef9a12d89e
ban: more defaults options, simpler callback
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-12-07 14:09:36 +01:00
01b37a0d91
metrics interceptors: fix default server registration
metrics interceptors: add missing client histogram methods

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-11-06 22:51:03 +01:00
c7096975b1
interceptors: add ban
health: set services serving on start and not available on close

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-27 17:06:18 +02:00
6e86120943
add server interface interceptors
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-07-15 15:48:09 +02:00
3fb566cb80
errors: add missing canceled
example: add auth
metadata interceptor: do not overide metadatas

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-06-24 11:47:09 +02:00
c10ac23ece
add react single page app handler (proxy to dev server when $REACT_ENDPOINT is defined
fix example

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-05-26 12:14:54 +02:00
2832f13f3c
update grpc, service: implements reflection.GRPCService
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-03-11 13:42:02 +01:00
c0e79d8834
service: replace cmd with NewFlagSet, add internal service version metadata interceptors
client: add NewFlagSet, add missing Options interface methods

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-03-10 12:46:36 +01:00
c8ecf58b3e client: add interceptors option 2021-11-23 15:15:47 +01:00
e8f0a2f03d add client address option, fix noop resolver 2021-11-22 14:04:47 +01:00
d246bb3214 options: fix interceptors, add defaulter and recovery 2021-11-21 16:13:43 +01:00
dc78a2c688 add metrics, tracing, validation interceptors, add options: WithInterceptors, With{Client,Server}Interceptors 2021-11-21 14:58:49 +01:00
43357bc790 add http middleware, add option to use custom mux, improved logger kvs 2021-10-13 17:05:59 +02:00
1eea54f18a remove transport draft, add grpc web and gateway support 2021-09-18 01:44:08 +02:00
9c16750ffc tranport draft, renamed module 2021-07-17 22:40:06 +02:00
a6696b1d39 service and client implements last grpc server and client interfaces, improved errors, add signals handling 2020-11-27 14:00:45 +01:00
9f5f03b862 add registry base interface, mdns, noop implementations, add resolver, client 2020-11-15 15:54:46 +01:00
4ca6bedf5a add cert generation, tls config, reflection 2020-08-07 10:59:27 +02:00
3375b4f379 updated package name 2020-03-03 14:44:02 +01:00
d2ee153290 [wip] renamed base package grpc 2020-01-22 21:20:18 +01:00
8197d933f8 [wip] base options, command, service 2020-01-22 14:02:06 +01:00