block by nicerobot 4375261

HTTPS Basic Authentication in Go :Gish

Full Screen

Based on rosettacode.org’s HTTPS/Authenticated#Go.

Run:

curl -ks https://gist.github.com/raw/4375261/run.sh | sh

The client will respond with the message from the server:

Goodbye, World!

index.html

authenticated.sh

client.go

run.sh

server.go