0.0
No commit activity in last 3 years
No release in over 3 years
Lita handler for Consul
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 4.6
 Project Readme

lita-consul

Build Status Coverage Status Gem Version

lita-consul is a handler for Lita for interacting with Consul.

Installation

Add lita-consul to your Lita instance's Gemfile:

gem "lita-consul"

Configuration

Optional attributes

  • consul_host (String) - Consul host. Default: localhost.
  • consul_port (String) - Consul port. Default: 8500.

Usage

[You]: lita consul get foo 
[Lita]: foo = bar 
[You]: lita consul set mykey myvalue
[Lita]: mykey = myvalue
[You]: lita consul members
[Lita]: node1.node.consul - 192.168.0.33
        node2.node.consul - 192.168.0.34

License

MIT