-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Gandhimathy Srinivasan edited this page Apr 13, 2018
·
4 revisions
``
How to use it ?
- install golanguage https://golang.org/doc/install
- set the environment variable "GOPATH" till the application is downloaded. eg.) _ set GOPATH=C:\Users\IBM_ADMIN\goWorkspace_
- build the application go build mftRESTsampleApplication.go The above command will generate an executable by name mftRESTsampleApplication.exe
- All set to work with the sample application in go.
Options: The above executable will accepts hostName, portNumber and the serviceName (agent/transfer) as input arguments.
Example: 1.) Execute the command with default value mftRESTSampleApplication.exe
2.) Execute the command by passing values mftRESTsampleApplication.exe -host 9.23.34.45 -port 8989 -service transfer
3.) Execute the command by passing just required values _ mftRESTsampleApplication.exe -service transfer_