this sample for using unix socket to get communicate. You could change the client code to python , js , or other languages. Usage go run unixsocket.go go run client/socketclient.go input something on second terminal and find the same in first terminal.