token-service

command
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2015 License: MPL-2.0 Imports: 6 Imported by: 0

README

Token-Service Example

This example illustrates how Dockpit can help in development of an idomatic microservices. The token-service has the following behaviour:

  1. It returns access tokens over HTTP to users who are able to authenticate using their username and password.
  2. In order to do so, the service will need to retrieve data from a PostgreSQL database.
  3. The location of the database instance will need to be retrieved from the etcd service registry
  4. New accounts are created by another service in the system, upon creation the token-service will receive a new message on a NSQ message queue, after which a new token is generated for this user.
  5. The returned token also contains permission data, these permissions are fetched through the HTTP API of another microservice in the system.

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