Commit Graph

54 Commits

Author SHA1 Message Date
9174446b2c
logger: add FieldLogger() logrus.FieldLogger
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-06-02 23:35:38 +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
70913ba556
shutdown: catch Drain() is not implemented
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-05-15 14:12:38 +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
01eb1bddea
errors: remove {Code}D and {Code}F methods
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-03-24 13:53:05 +01:00
0754c0de00
logger: add SetLevel and Logr for logr interoperability
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-03-24 13:48:24 +01:00
884d59e280
codec: add codec to support both vtproto and google.golang.org/protobuf and probably gogoproto
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-03-17 15:22:31 +01:00
60234cceb3
errors: add Is{Code}(err error) bool methods
close #3

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-03-13 17:38:45 +01: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
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
e578d62a29 add auth interceptors 2021-12-13 12:08:10 +01:00
55251b5020 command: allow unknown flags 2021-12-08 13:57:49 +01:00
eed8fd3501 grpc-gateway: wrap with wsproxy 2021-12-07 19:53:16 +01:00
819b3c9ce6 logger: add C as From alias 2021-11-28 09:33:32 +01:00
aaf2aa3964 recovery server interceptor 2021-11-25 18:22:57 +01:00
c8ecf58b3e client: add interceptors option 2021-11-23 15:15:47 +01:00
d28f55eb8b update validation interceptor interfaces 2021-11-23 13:12:49 +01:00
8e6fde19b5 add minimal config interface and file implementation 2021-11-23 12:00:58 +01:00
1bad45b563 add client address option, fix noop resolver 2021-11-22 14:26:05 +01:00
e8f0a2f03d add client address option, fix noop resolver 2021-11-22 14:04:47 +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
9ae20eab1e add signals based on controller-runtime signals handler 2021-11-21 12:36:34 +01:00
8f40c6fc53 reformat error funcs, improved logger 2021-11-18 20:21:30 +01:00
43357bc790 add http middleware, add option to use custom mux, improved logger kvs 2021-10-13 17:05:59 +02:00
2916a61b3b use default unsecured grpc web options 2021-09-30 18:10:12 +02:00
6594278ead removed grpc server access 2021-09-30 17:11:58 +02:00
0fd0a6ecc3 add cors option 2021-09-30 16:56:51 +02:00
89ebbee8dc add missing transport folder 2021-09-30 12:00:30 +02:00
1eea54f18a remove transport draft, add grpc web and gateway support 2021-09-18 01:44:08 +02:00
4085420f6f upgrade deps 2021-07-17 22:51:11 +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
c1d38dfbd0 fix close of closed channel 2020-11-15 15:54:46 +01:00
9f5f03b862 add registry base interface, mdns, noop implementations, add resolver, client 2020-11-15 15:54:46 +01:00
Adphi
87b947cea3 Add LICENSE 2020-11-06 17:32:45 +00:00
c4d0ef3c08 fix deadlock 2020-11-06 16:44:25 +01:00
Adphi
1cbcbf9ecd Update README.md 2020-11-06 14:08:33 +00:00
Adphi
34fa7681b4 Update README.md 2020-11-06 08:38:33 +00:00
Adphi
cc1cab608a Update README.md 2020-11-06 08:36:22 +00:00
e12748c57f add missing option flags, fix some comments 2020-08-07 14:02:31 +02:00
4ca6bedf5a add cert generation, tls config, reflection 2020-08-07 10:59:27 +02:00
8e5e48f39b cobra silent usage 2020-03-04 09:28:45 +01:00
af25e09154 fix graceful stop 2020-03-03 15:12:33 +01:00