Skip to content

alyoshka/calc-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#calc-client client for RPC calculator server
Calculates simple arithmetic tasks.

##Requirements You need Golang 1.5 or newer installed and configured
Then install Godep:
go get github.com/tools/godep

##Installation Download calc-client:
go get github.com/alyoshka/calc-client
cd $GOPATH/src/github.com/alyoshka/calc-client
Install
godep go install

##Usage calc-client [-host host:port] [-command "arg1 operation arg2"]
Client starts interactive session if no command argument passed.

##Commands client accepts commands of the following form
arg1 operation arg2
Where arg1 and arg2 - numbers, operation is one of supported mathematical signs (+, -, * or /).
Arguments and operation should be separated by spaces.

About

Client for rpc calculator server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages