[8] Results

Golang : Check whether a network interface is up on your machine

golang network-interface probe-status interface-by-name


You have multiple network interfaces on your machine and you need to know the status of a particular network….... read more

Golang : Check from web if Go application is running or not

golang running status

When we run some processes in the background to perform certain tasks and it would be a good idea to….... 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

How to automatically restart your crashed Golang server

golang restart-server supervisord monitor-application-status


You need to restart your Golang(or any programming languages) server application after reboot. Also, you need to monitor your….... read more

Golang : How to return HTTP status code?

golang http status-code mux

Was helping out a friend today on her work and one of the problems that she encountered during coding was….... read more

Golang : Get hardware information such as disk, memory and CPU usage

golang cpu-usage cross-platform system-process-status operating-system

For this tutorial, we will learn how to extract hardware level information with Golang. Accessing hardware level information such as….... read more

Golang : ffmpeg with os/exec.Command() returns non-zero status

golang ffmpeg non-zero-status os-exec command run


You want to use ffmpeg with os/exec.Command() and Run() to create your video files.

However, it keeps bombing….... 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