Necromancers Playing MTG
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    node-task-queuepublic

    node-task-queue

    node-task-queue is a queue for url-callback with postdata.

    It is an independent service, Don't use by require it!. Just For Http Callback, no more.

    Version Alpla.

    Build Status

    Features

    • queues management

    • tasks management

    • support sequence task & concurrent task

    Installation

    npm install node-task-queue
    

    or

    git clone https://github.com/waisir/node-task-queue.git
    

    Get Start

    cd /node-task-queue
    node app.js
    

    Wrong way:

    var ntq = require('node-task-queue');    //wrong way
    

    Right way:

    node /node-task-queue/app.js    //right way
    

    Usage

    Gateway:

    http://127.0.0.1:1337/s.q
    

    How to create queue:

    http://127.0.0.1:1337/s.q?action=create_queue&qname=my_queue&type=con&len=1000
    

    How to add a task to one queue:

    http://127.0.0.1:1337/s.q?action=add_task&qname=my_queue&url=http://www.tocurl.com&postdata=yourpostdata
    

    How to view exist queues:

    http://127.0.0.1:1337/s.q?action=get_queues
    

    Todo

    go on complete...

    Keywords

    none

    install

    npm i node-task-queue

    Downloadsweekly downloads

    7

    version

    0.0.1

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar