Routemaster Client v0.3.0 Routemaster.DummyService View Source

A dummy service to help in development.

It’s meant to simualate a remote service from which resources can be fetched. This would be an event-producer or resource owner in a production environment.

It listens on localhost:4242 and responds to any request with a HTTP status 200 and a JSON body with some data from the request plus a fake updated_at timestamp.

Link to this section Summary

Functions

Callback implementation for Plug.call/2

Callback implementation for Plug.init/1

Starts the dummy service server on localhost:4242

Link to this section Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.

Starts the dummy service server on localhost:4242.