[18] Results

Golang : Secure(TLS) connection between server and client

golang client-server secure-connection listening tls

This is additional tutorial for the previous tutorial on creating simple client-server program with Golang. In this tutorial,….... read more

Golang : Simple client-server HMAC authentication without SSL example

golang hmac authentication client-server connection-handshaking


You are building a distributed system that involves multiple processes communicating across a cluster of computers. You want to….... read more

Golang : Simple client server example

golang client-server connection listening port

This a quick tutorial on creating a bare bone client-server program with Golang. We will start with the server part….... 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 : How to stream file to client(browser) or write to http.ResponseWriter?

golang stream-file browser client

Problem :

You have a file - such as a PDF or MP3 file that you want to stream/download straight….... read more

PHP : Get client IP address

php ip-address client x-forwarded-for

Knowing who is accessing your web server can be useful for tracking a user's activity. In this tutorial, we will….... read more

Curl usage examples with Golang

curl golang api-server

Writing down these examples for my own future references. They are for my own usage and to show how to….... read more

Golang : Simple File Server

golang file-server

Got a request from a developer friend yesterday on how to open up part of his machine and turn into a file server. The code….... read more