Create a Golang websocket server with front end example
Websocket protocol provides bidirectional communication over TCP. Let’s look at an example code. 1. Create a folder go_ws_server and enter the folder with “cd go_ws_server“2. …
Experiment with ease
Websocket protocol provides bidirectional communication over TCP. Let’s look at an example code. 1. Create a folder go_ws_server and enter the folder with “cd go_ws_server“2. …
We can use the crypto/md5 and encoding/hex library to convert a string to its md5 hash. Below is an example code. We can run this …
Create a folder api_demo. Go inside the folder with command line cd api_demo. Initialize a go project with command “go mod init api_demo”. This will …