November 2017
Intermediate to advanced
670 pages
17h 35m
English
Let's have a look at the contents of main.go:
package mainimport ( "crypto/tls" "flag" "fmt" "io/ioutil" "log" "net/http" "net/url" "os" "os/signal" "time" "easy_metrics" . "decorator")const ( host = "127.0.0.1" protocol = "http://")var ( serverUrl string proxyUrl string)
We define a host as a constant because we will always run this example code ...