[39] Results

Golang : Multiplexer with net/http and map

golang http mux multiplexer map

This is additional tutorial on multiplexer, with just net/http package and a map.

A multiplexer allows you to….... read more


Golang : Serving HTTP and Websocket from different ports in a program example

golang web-socket HTTP port mux

Problem:

For some reason you want to split the port use by your program to serve HTTP and Web-socket traffic.….... read more


Golang : Identifying Golang HTTP client request

golang IoT proxy security http-request botnet

Problem:

You've read about the Mirai DDoS malware that infects IoT devices and turning them into a massive….... read more


Golang : Muxing with Martini example

golang http web-router multiplexer martini

In this quick tutorial, we will learn how to do basic multiplexing with Martini package. One thing I really like….... read more


Golang : Pat multiplexer routing example

golang http mux web-route multiplex pat

This is a short tutorial on how to use Pat multiplexer - a Sinatra style pattern muxer for Go's net/http….... read more


Golang : Delay or limit HTTP requests example

golang http-request delay limit mux

Problem:

For some technical limitation reason, you want to delay or slow down HTTP requests to one of your machines….... read more


Golang : Measure http.Get() execution time

golang measure-get-time http-get

There are times where you need to measure how long a http.Get() response time takes for debugging reason or network….... read more


Golang : Set and Get HTTP request headers example

golang set-headers get-headers http-responsewriter

Couple of examples on how to set and get HTTP request headers in Golang.

Example of setting HTTP request header.

.... read more


Advertisement

Advertisement