Skip to content

bitfinexcom/grenache-ruby-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages