module
0.0.0-20231202141159-1b6182f74d62
Repository: https://github.com/vidarhun/app_server.git
Documentation: pkg.go.dev
# README
app_server
TODO:
- Add an HTTP server to the client, so the app_server can send notifications
- Maybe a better idea to use WebTransport because its bidirectional behaviour
- Or use WebSockets. However, this will be no good for our use-case
- Add exec commands to start a quicrq server or relay
- Add exec commands to start a quicrq client
- Define how to test
- Make tests for the server
- Make tests for the client
Generate certs
openssl genpkey -algorithm RSA -out localhost.key
openssl req -new -key localhost.key -out localhost.csr -subj "/CN=localhost" -reqexts SAN -config <(cat /etc/ssl/openssl.cnf <(printf "[SAN]\nsubjectAltName=DNS:localhost"))
openssl x509 -req -in localhost.csr -signkey localhost.key -out localhost.crt
Create a symlink to the quicrq_app binary:
ln -s ../quicrq/quicrq_app quicrq_app
Build client and server:
go build -o client cmd/client/client.go
go build -o server cmd/server/server.go
# Packages
No description provided by the author