Skip to content

Instantly share code, notes, and snippets.

View SanthoshKani's full-sized avatar

Santhosh Kani SanthoshKani

View GitHub Profile
@SanthoshKani
SanthoshKani / golang_job_queue.md
Created February 22, 2019 04:45 — forked from harlow/golang_job_queue.md
Job queues in Golang
@SanthoshKani
SanthoshKani / tls-client.go
Created February 22, 2019 04:42 — forked from michaljemala/tls-client.go
SSL Client Authentication Golang sample
package main
import (
"crypto/tls"
"crypto/x509"
"flag"
"io/ioutil"
"log"
"net/http"
)
@SanthoshKani
SanthoshKani / gracefull_webserver.go
Created February 22, 2019 04:31 — forked from Nydan/gracefull_webserver.go
Golang http server with gracefull exit.
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"os/signal"
"syscall"