[46] Results

Golang : Set or Add HTTP Request Headers

golang header set add http-request http-client

Problem :

While coding the tutorial on how to interface with PayPal, I need to add header value….... 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

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

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

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 : Get UDP client IP address and differentiate clients by port number

golang udp udp-client-address port-number

Problem :

Your UDP server program needs to find out the UDP client IP address before writing to client. However,….... read more

Golang : Check a web page existence with HEAD request example

golang client-head web-page-exist unsupported-protocol-scheme

There are times when we need to check if a web server is up and running first before querying further….... read more