Skip to content

Instantly share code, notes, and snippets.

@gilbertchen
gilbertchen / ssl_smtp_example.go
Created July 17, 2019 03:32 — forked from chrisgillis/ssl_smtp_example.go
Golang SSL SMTP Example
package main
import (
"fmt"
"log"
"net"
"net/mail"
"net/smtp"
"crypto/tls"
)
@gilbertchen
gilbertchen / client.go
Created April 7, 2019 02:24 — forked from spikebike/client.go
TLS server and client
package main
import (
"crypto/tls"
"crypto/x509"
"fmt"
"io"
"log"
)