No release in over 3 years
Low commit activity in last 3 years
Grenache Base Client implementation.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.5

Runtime

~> 0.16
~> 3.6
 Project Readme

grenache-ruby-base

Configuration

Grenache::Base.configure do |conf|
    conf.grape_address = "ws://10.0.0.1:30002"
end

Usage

Announce a service

c = Grenache::Base.new

c.announce("test",30000) do |response|
  #service code
  puts "announce sent: #{response}"
end

lookup for a service

c.lookup('test') do |response|
  puts "services: #{response[1]}"
end