1.1.2 • Published 7 years ago

the-sticky v1.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

the-sticky

Build Status npm Version JS Standard

Sticky sessions for the-server

Installation

$ npm install the-sticky --save

Usage

'use strict'

const theServer = require('the-server')
const {run} = require('the-sticky')
const {Ctrl} = theServer

run(() => {

  const server = theServer({
    redis: {host: '127.0.0.1', port: '6379', db: 1}
  })

  class FruitShopCtrl extends Ctrl {/* ... */}

  server.register(FruitShopCtrl, 'fruitShop')

  server.listen(3000)
})

API Guide

License

This software is released under the MIT License.

Links

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago