def register_routers(app):
    from . import handlers
    app.router.add_post('/accounts/balance', handlers.account_balance)
    app.router.add_post('/accounts/history', handlers.account_history)
    app.router.add_post('/transactions/start', handlers.start_transaction)
    app.router.add_post('/transactions/commit', handlers.commit_transaction)
    app.router.add_post('/transactions/rollback', handlers.rollback_transaction)
    app.router.add_post('/debug-clear-service', handlers.debug_clear_service)
def register_routers(app):
    from . import handlers
    app.router.add_post('/accounts/balance', handlers.account_balance)
    app.router.add_post('/accounts/history', handlers.account_history)
    app.router.add_post('/transactions/start', handlers.start_transaction)
    app.router.add_post('/transactions/commit', handlers.commit_transaction)
    app.router.add_post('/transactions/rollback', handlers.rollback_transaction)
    app.router.add_post('/debug-clear-service', handlers.debug_clear_service)