oshinko-client-test

command
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

README

oshinko-client-test

The code in this directory contains an example of how to use the oshinko-rest client package. This application will simply connect to an instance of oshinko-rest-server at 127.0.0.1:8080 and retrieve the data from the server information endpoint.

How to build

Run the following in this directory:

$ go build

How to run

Ensure that the oshinko-rest-server is running and listening at 127.0.0.1:8080. This can be accomplished with the following command:

$ oshinko-rest-server --host 127.0.0.1 --port 8080

After the server is started, run the following command from this directory:

$ ./oshinko-client-test

If everything has succeeded you will see something similar to this output:

name: oshinko-rest-server
version: 0.0.0

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL