summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--notes.txt1
-rw-r--r--web/main.go8
2 files changed, 9 insertions, 0 deletions
diff --git a/notes.txt b/notes.txt
index e19e426..02b4e0d 100644
--- a/notes.txt
+++ b/notes.txt
@@ -1 +1,2 @@
+https://blockchain.info/address/183XuXTTgnfYfKcHbJ4sZeF46a49Fnihdh
TLS_DHE_RSA_WITH_AES_256_CCM (0xc09f)
diff --git a/web/main.go b/web/main.go
index 68dac96..bdb0ca7 100644
--- a/web/main.go
+++ b/web/main.go
@@ -3,6 +3,8 @@ package main
import (
"crypto/tls"
"crypto/x509"
+ "fmt"
+ "io/ioutil"
"log"
)
@@ -55,4 +57,10 @@ func main() {
if err := conn.Handshake(); err != nil {
log.Fatal(err)
}
+
+ body, err := ioutil.ReadAll(conn)
+ if err != nil {
+ log.Fatal(err)
+ }
+ fmt.Println(string(body))
}