oshinko-client-test

command
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2018 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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