A very simple local client-server calculator project built using Cobra + Echo and socket programming, written in Go.
First clone the repository and use go install
or use the makefile to install the project.
Then, for running server use:
golculator runserver
Running client is very similiar to running server, you can use:
golculator runclient
There are also two kind of flags, -p
or --port
to run program on a specific port number, and -s
or --socket
to run a socket version of client and server.