sprockets.handlers.status
A small handler for reporting application status
-
class
sprockets.handlers.status.StatusHandler(application, request, **kwargs)[source]
Implement a status handler endpoint that can be used to get information
about the current service
-
get(*args, **kwargs)[source]
Tornado RequestHandler GET request endpoint for reporting status
| Parameters: |
- args (list) – positional args
- kwargs (dict) – keyword args
|
-
sprockets.handlers.status.set_application(name)[source]
Set the application name that is reported in the status.
| Parameters: | name (str) – The application name |