This package has been deprecated

Author message:

this package has been deprecated

the-sticky

1.1.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i the-sticky

Weekly Downloads

2

Version

1.1.2

License

MIT

Last publish

Collaborators

  • okunishinishi