This is a simple Go service that returns server current time over HTTPS.
curl -k https://localhost:8443/time
curl -k https://localhost:8443/health
Server runs on port 8443 with a self-signed TLS certificate.