Commit Graph

20 Commits

Author SHA1 Message Date
d5210f8db5
interceptors: add chain interceptors
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-29 16:16:46 +02:00
9729fb8b8a
breaking change: auth options now takes fully qualified method names
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-07-16 19:03:44 +02:00
4de0ec6a3b
add metadata forwarder server interceptors
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-07-16 16:43:00 +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
79771e58c1
validation: recursive error check on "embedded message failed validation"
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-06-07 13:09:47 +02:00
5662486b3b
validation: set errdetails.BadRequest_FieldViolation slice in errdetails.BadRequest as details
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-06-07 12:49:58 +02:00
e5a45801a1
validation: fix undefined: errors.InvalidArgumentD
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-05-04 16:30:27 +02:00
8e490c0bae
metrics: add histogram support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-03-12 00:42:36 +01:00
d61f0e9d76
metrics: add server interceptor missing prometheus collector wrapped method
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-03-12 00:40:16 +01:00
b1988e0458
metrics: fix registration
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-03-12 00:24:37 +01: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
08a67bf162
fix metadata client interceptors
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-03-11 12:40:09 +01:00
97ced73270
add metadata interceptors, auth client interceptors
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-03-11 12:33:18 +01:00
e578d62a29 add auth interceptors 2021-12-13 12:08:10 +01:00
aaf2aa3964 recovery server interceptor 2021-11-25 18:22:57 +01:00
d28f55eb8b update validation interceptor interfaces 2021-11-23 13:12:49 +01:00
c6557d12f2 add sentry interceptors 2021-11-21 16:24:22 +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