[41] Results

Golang : Handle API query by curl with Gorilla Queries example

golang http mux restful-api gorilla-queries

This is an add on for previous tutorial on how to use Gorilla mux example. One reader emailed….... read more


Golang : Covert map/slice/array to JSON or XML format

golang json xml http-response field-tags

Problem :

You have a data struct in map, slice or array format and you have to convert the data….... read more


Golang : Issue HTTP commands to server and port example

golang net-conn dialtcp http-command

Problem :

You want to issue or write HTTP command to a connection created by net.DialTCP() function. How to do….... read more


Golang : Web routing/multiplex example

golang http mux web-route multiplex gorilla

Routing based on the URL's path can be useful in some cases like build RESTful API server.

Problem :

You….... read more


Golang : How to handle file size larger than available memory panic issue

golang filesize memory-limit panic http-detectcontenttype

Problem:

You are trying to convert create a slice with a size of a very large file. The file size….... read more


Golang : Generate 403 Forbidden to protect a page or prevent indexing by search engine

golang 403-forbidden no-index curl http-status-code

Got a question from a Golang newbie. He is asking how to protect certain directory or page from being accessed….... read more


Golang : Set up source IP address before making HTTP request

golang change-IP-address download wget custom-HTTP-transport

Problem :

There are times that you want to use certain IP address in a machine ( such as the….... read more


Golang : How to transmit update file to client by HTTP request example

golang transmit-file http-request download file-size update-server

Alright, got a friend here that wants a simple Golang http server that will handle updates to his software. Basically,….... read more


Advertisement