/explore
|
You are here |
rakyll.org | ||
| | | | |
www.integralist.co.uk
Introduction Four ways to skin a cat How does the adapter work? Why is this interesting? Summary/Breakdown Introduction Here is some code that demonstrates the typical 'hello world' for a Go based web server: package main import ( "fmt" "net/http" ) func handler(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Hello %s", r.URL.Path[1:]) } func main() { http.HandleFunc("/World", handler) http.ListenAndServe(":8080", nil) } Note: http://localhost:8080/World will return Hello World For most people,... |
|
| | | | | ||
| | | | |
pauladamsmith.com
This is a simple and easily generalizable way to put an upper-bound on the maximum number of simultaneous clients to a Go net/http server or handler. The idea is to use a counting semaphore, modeled with a buffered channel, to cause new clients to... |
|
| | | | | ||
| | | | |
golb.hplar.ch
[AI summary] This article explains how to set up HTTP over TLS on a localhost server using Go, covering self-signed certificates and the mkcert tool to avoid browser warnings. |
|
| | | | | ||
| | | | |
pingbin.com
[AI summary] A technical guide detailing how to automatically deploy .NET 6.0 Core applications to an Ubuntu server using GitHub Actions, NGINX, and MySQL. |
|
| | | |||