Skip to content

Commit

Permalink
v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrodger committed Jul 11, 2020
1 parent f80a5db commit 7d5db72
Show file tree
Hide file tree
Showing 3 changed files with 384 additions and 332 deletions.
46 changes: 44 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,32 @@ The unit tests require a running memcached and redis.


<!--START:options-->


## Options

* `prefix` : string <i><small>"SE"</small></i>
* `maxhot` : number <i><small>1111</small></i>
* `maxage` : number <i><small>22222</small></i>
* `expires` : number <i><small>3600</small></i>
* `hot` : boolean <i><small>true</small></i>


Set plugin options when loading with:
```js


seneca.use('entity-cache', { name: value, ... })


```


<small>Note: <code>foo.bar</code> in the list above means
<code>{ foo: { bar: ... } }</code></small>



<!--END:options-->


Expand All @@ -73,7 +99,9 @@ The unit tests require a running memcached and redis.

## Action Patterns

* [cmd:stats,plugin:entity-cache](#-cmdstatspluginentity-cache-)
* [clear:hot-keys,plugin:entity-cache](#-clearhotkeyspluginentitycache-)
* [get:stats,plugin:entity-cache](#-getstatspluginentitycache-)
* [list:hot-keys,plugin:entity-cache](#-listhotkeyspluginentitycache-)


<!--END:action-list-->
Expand All @@ -83,7 +111,21 @@ The unit tests require a running memcached and redis.

## Action Descriptions

### &laquo; `cmd:stats,plugin:entity-cache` &raquo;
### &laquo; `clear:hot-keys,plugin:entity-cache` &raquo;

No description provided.



----------
### &laquo; `get:stats,plugin:entity-cache` &raquo;

No description provided.



----------
### &laquo; `list:hot-keys,plugin:entity-cache` &raquo;

No description provided.

Expand Down

0 comments on commit 7d5db72

Please sign in to comment.