Skip to content

Instantly share code, notes, and snippets.

View twiny's full-sized avatar
💫
ping ~ pong

IM twiny

💫
ping ~ pong
View GitHub Profile
@twiny
twiny / main.go
Created June 10, 2021 10:20 — forked from enricofoltran/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"
@twiny
twiny / client.go
Created May 30, 2021 20:35 — forked from jordanorelli/client.go
rpc server example in go
package main
import (
"bufio"
"log"
"net/rpc"
"os"
)
func main() {
@twiny
twiny / docker-compose.yml
Created May 3, 2021 01:15 — forked from Mau5Machine/docker-compose.yml
Traefik Configuration and Setup
version: "3.3"
services:
################################################
#### Traefik Proxy Setup #####
###############################################
traefik:
image: traefik:v2.0
restart: always