[39] Results

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 : 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 : 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


Golang : Save(pipe) HTTP response into a file

golang http file

Problem :

You want to save or pipe a website content via http.Get() function to a file for processing.

Solution….... read more


Golang : HttpRouter multiplexer routing example

golang http httprouter multiplexer

HttpRouter attempts to transcend other Golang multiplexers by claiming to have better variables and routing supports. It also claimed to….... read more


Golang : How to redirect to new page with net/http?

golang web redirect http

Problem :

You need to do a page redirect in Golang. How to do it ?

Solution :

Use net/http.... read more


Golang : HTTP response JSON encoded data

golang json http mux

Alright, time to get dirty again.

I need to do a quick and easy http.Get() from another server(let say server….... read more


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


Advertisement

Advertisement