Golang webserver using mux and html templates
- "context"
- "os"
- "os/signal"
- "syscall"
- "fmt"
- "time"
- "log"
- "html/template"
- "net/http"
- "net/http/httputil"
- "sync"
- "sync/atomic"
- "github.com/gorilla/mux"
- "github.com/gorilla/handlers"
- go get -d -v
- go clean
- go build
- go run main.go
- go get -u github.com/go-delve/delve/cmd/dlv
- dlv debug ./goservice
- curl -X POST http://127.0.0.1:8000/event -H 'Content-Type: application/json' -d '{"Name": "test", "Type": "info"}'
- curl -X GET http://127.0.0.1:8100/