Commit Graph

47 Commits

Author SHA1 Message Date
939c060513
service: fix alpn certificate usage
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2024-12-21 14:44:56 +01:00
174aa3a497
migrate grpc-web to traefik fork
close #12

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2024-10-17 18:30:48 +02:00
abe69f1c80
remove client pool and add tls client auth support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2024-10-17 18:09:58 +02:00
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
37b09f9f54
add proxy protocol support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-09-16 16:24:55 +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
f455c9994c
service: add Serve method
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-08-25 17:15:52 +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
0e1fe17b97
service: fix possible deadlock on close
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-08-04 18:51:17 +02:00
df505b58d7
rename module grpc-toolkit
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-07-08 01:33:10 +02:00
1fa30d9706
mux: run http server if gateway | grpcWeb | react | mux is defined
goroutines: use errgroup
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-07-08 01:29:18 +02:00
36f3c5bc81
service: WithReact: use fs.FS instead of embed.FS
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-07-07 14:08:34 +02:00
9baceef381
service: signals add syscall.SIGTERM
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-04-19 14:25:44 +02:00
e295da1988
service: flags: add missing cert options
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-11 12:30:32 +01:00
82d04d63b6
refactor: remove ioutil module usage
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-11 12:27:30 +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
9bf4e691ce
add WithListener option
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-05 15:32:33 +02:00
b230278441
add unix socket support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-05 12:33:01 +02:00
8e6cfd2daa
remove gorm support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-07-26 07:55: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
bb7e4b124b
logger: add FromLogrus
service: use logger instead of logrus

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-07-02 12:39:52 +02:00
ec06b7c4a2
service: add react web app serving option
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-06-03 13:12:19 +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
2832f13f3c
update grpc, service: implements reflection.GRPCService
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-03-11 13:42:02 +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
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
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
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
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
c4d0ef3c08 fix deadlock 2020-11-06 16:44:25 +01: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
ac9a81d3e7 gorm db openned in options 2020-03-03 14:54:53 +01:00
8197d933f8 [wip] base options, command, service 2020-01-22 14:02:06 +01:00