[41] Results

Golang : Web(Javascript) to server-side websocket example

golang websocket http-protocol

For this tutorial, we will explore how to write a HTML page with Javascript/JQuery that interface with server-side Golang service….... read more


Golang : Get HTTP protocol version example

golang http-protocol-version http-2

Upgraded socketloop.com's NGINX web server to serve via HTTP/2 and wanted to find out if Golang can detect the HTTP/2.... read more


Golang : Check a web page existence with HEAD request example

golang client-head web-page-exist unsupported-protocol-scheme

There are times when we need to check if a web server is up and running first before querying further….... read more


Golang : Get current time from the Internet time server(ntp) example

golang time-zone synchronize-time network-time-protocol

There are times when a program needs to have accurate machine time. For example, the make command found in Unix/Linux.….... read more


Golang : http.Get example

golang http get

Grabbing content in raw HTML format is useful for crawling or parsing purpose. This short tutorial demonstrates how easy it….... read more


Golang : HTTP Server Example

golang http server

Simple tutorial on HTTP server examples with Golang. Run the codes below and point your browser to http://localhost:8080 or http://localhost:8080/replyname/yourname.... read more


Golang : read gzipped http response

golang http gzip exec

There are times when we want to grab a website content for parsing(crawling) and found out that the content is….... read more


Golang : Intercept and compare HTTP response code example

golang http status-code

Problem :

You want to query a website and intercept the response code. You also want to compare the response….... read more


Advertisement

Advertisement