vanilla
This commit is contained in:
12
vanilla.go
Normal file
12
vanilla.go
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
"net/http"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
http.ListenAndServe(":9090", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||||
|
fmt.Fprintf("%s %s\n", r.Method, r.URL)
|
||||||
|
}))
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user