Commit Graph

110 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
9591a64e09
add grpc-proxy (github.com/mwitkow/grpc-proxy)
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2024-10-16 15:04:43 +02:00
ccf44285f9
upgrade dependencies
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2024-10-10 16:07:26 +02:00
fd51ed5961
cli: fix usage format when multiple env vars are set
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2024-07-11 14:10:07 +02:00
198bd2bd59
certs: reload on both key and cert changes
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-11-24 20:07:15 +01:00
dependabot[bot]
efaa4bd14f build(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
Bumps [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.44.0 to 0.46.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.44.0...zpages/v0.46.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 16:57:22 +01:00
2380a4386c
update deps
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-11-14 16:52:29 +01:00
5d6b16a2c2
chore: upgrade dependencies
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-10-26 16:58:32 +02:00
0b4d636ec2
add cobra command utilities and log formatter
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-10-17 15:30:32 +02:00
8fd170c0a8
deps: update all
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-09-16 16:29:22 +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
97f48d30c0
certs: add Load function to watch for key and certificate changes
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-08-15 18:16:29 +01:00
b52ae2c670
logger.WithReportCaller: fix enabled by default
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-08-11 19:34:42 +02:00
724d6103c6
logger.WithReportCaller: allow custom depth
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-08-11 19:02:22 +02:00
ef3af1e4d9
logger: add missing Clone interface method
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-08-04 22:50:11 +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
3af87d65d6
codec: register on init
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-04-19 14:24:28 +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
291c4f6361
deps: upgrade go to 1.20 and update dependencies
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-08 11:51:28 +01:00
19787f85ca
errors: add BadRequestDetails
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-03-08 11:44:25 +01:00
e70369a902
logger: add WithContext support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-02-21 19:53:25 +01:00
2bb79e6c11
deps: upgrade grpc
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-02-21 14:47:43 +01:00
8f75b6aca4
react: use fs.FS instead of embed.FS
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2023-01-20 14:33:52 +01:00
926af303e8
upgrade logrus, add logger.Trace support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-12-22 10:27:33 +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
dcd2f18f65
auth interceptors: preserve error message
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-11-03 17:13:28 +01:00
1d3d5315a4
ban: remove port from DefaultActorFunc
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-10-26 12:02:53 +02:00
23f1b78389
logger: add Logger method to access *logrus.Logger
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-10-18 18:26:39 +02: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
23370fd04d
react: add DevEnv utility
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-05 11:35:09 +02:00
7c3a338748
react: export REACT_ENDPOINT env var, recovery interceptor: remove panicing client handlers
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-09-05 11:32:24 +02:00
d5210f8db5
interceptors: add chain interceptors
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-08-29 16:16:46 +02:00
8e6cfd2daa
remove gorm support
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
2022-07-26 07:55:18 +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