Skip to content

sudorandom/example-connect-http3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of gRPC+HTTP/3

TLS cert

This is the command used to create the self-signed cert:

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)

go run server-single/main.go

Starting the server (HTTP/1.1, HTTP/2 and HTTP/3)

go run server-multi/main.go

Running the client (http stdlib)

go run client-http/main.go

Running the client (connect)

go run client-connect/main.go

About

An example of using gRPC over HTTP/3 with connect-go

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages