golanglive

command module
v0.0.0-...-5b945b1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

README

golanglive

golang live coding session

Key and certificate

Generate private key (.key)
### Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048

### Key considerations for algorithm "ECDSA" ≥ secp384r1
#### List ECDSA the supported curves (openssl ecparam -list_curves)
openssl ecparam -genkey -name secp384r1 -out server.key
Generation of self-signed(x509) public key (PEM-encodings .pem|.crt) based on the private (.key)
openssl req -new -x509 -sha256 -key server.key -out server.crt -days 3650

Slides

Use the Golang present tool in present folder for offline or see link for the online one

Run

go run live.go

Runs an application with 2 web servers : HTTPS on port 8080, HTTP on port 8081 Go to HTTPS/2 Go live and check performances against HTTP/1 Go live version

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL