botkit-storage-consul
v0.1.2
Published
A storage for [botkit](https://github.com/howdyai/botkit) as [consul](https://github.com/hashicorp/consul) backend.
Downloads
2
Readme
README
A storage for botkit as consul backend.
import * as botkit from "botkit";
import { ConsulStorage } from "botkit-storage-consul";
botkit.slackbot({
storage: ConsulStorage({consul_url: process.env.CONSUL_URL}),
...
consul_url
is endpoint of consul. The default ishttp://localhost:8500
.kv_root
is the root path of consul KV which this storage uses.