stock-management-api

command module
v0.0.0-...-d368b18 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

README

Stock Streaming API

An example streaming API that montors RabbitMQ for changes in stock levels and then exposes a websocket endpoint for clients. This service is an example service in the following scenero

### Dependencies - Go Web - Consul - RabbitMQ
To run the service
  • Make sure you have Consul installed and running
  • Make yourself a copy of the config yaml file specifying the location of your Rabbit instance
 cp config.example.yml config.yml
  • Run the service
 go run main.go 

:8080/stock will listen for all updates :8080/stock?sku=12345 listen for stock uodates for sku 12345

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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