Namespace: storage

This handle all configs for the storage service.

Members

staticServerModule.services.storage.baseobject

This is the base model that all storage models are built off of. If creating a new storage model inherit this.

staticServerModule.services.storage.baseModelsobject

This returns the inlcluded models which allows you to extend or modify them outside of Finsemble.

staticServerModule.services.storage.modelsobject

This is the list of external models that are being passed to Finsemble.

Methods

staticServerModule.services.storage.addModel
(params)

libs/Server.js, line 213

Add Services to Finsemble- This will be the correct location to call addServices

Name Type Description
params Object

-

Name Type Description
name String

The name of the model

model String

the path to the model

Example
Finsemble.services.storage.addModel({"name":"redis","model":"path here"})

staticServerModule.services.storage.getModel
(serviceJson)

libs/Server.js, line 199

Add Services to Finsemble- This will be the correct location to call addServices

Name Type Description
serviceJson JSON

A json file containing all of the service configs

Example
Finsemble.services.storage.getModel('localStorage')