A consul storage driver for Botkit
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE.md
README.md
index.d.ts
index.js
package.json
slack.d.ts
storage-consul.js
storage-consul.ts
tsconfig.json
yarn.lock

README.md

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 is http://localhost:8500.
  • kv_root is the root path of consul KV which this storage uses.