Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sudorandom/example-connect-http3
An example of using gRPC over HTTP/3 with connect-go
https://github.com/sudorandom/example-connect-http3
Last synced: about 1 month ago
JSON representation
An example of using gRPC over HTTP/3 with connect-go
- Host: GitHub
- URL: https://github.com/sudorandom/example-connect-http3
- Owner: sudorandom
- Created: 2024-07-06T09:59:21.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-02T14:29:09.000Z (about 2 months ago)
- Last Synced: 2024-11-02T15:25:31.643Z (about 2 months ago)
- Language: Go
- Size: 17.6 KB
- Stars: 20
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example of gRPC+HTTP/3
## TLS cert
This is the command used to create the self-signed cert:```shell
openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 \
-subj "/C=DK/L=Copenhagen/O=kmcd/CN=local.kmcd.dev" \
-keyout cert.key -out cert.crt
```## Starting the server (HTTP3 only)
```shell
go run server-single/main.go
```## Starting the server (HTTP/1.1, HTTP/2 and HTTP/3)
```shell
go run server-multi/main.go
```## Running the client (http stdlib)
```shell
go run client-http/main.go
```## Running the client (connect)
```shell
go run client-connect/main.go
```