BunnyRabbitMQ 的 Ruby 开发包
Bunny 是 RabbitMQ 的客户端开发包,专注于易用性。它功能齐全,支持所有最近的 RabbitMQ 功能,并且没有任何重量级的依赖关系。
示例代码:
require "bunny" # Start a communication session with RabbitMQ conn = Bunny.new conn.start # open a channel ch = conn.create_channel # declare a queue q = ch.queue("test1") # publish a message to the default exchange which then gets routed to this queue q.publish("Hello, everybody!") # fetch a message from the queue delivery_info, metadata, payload = q.pop puts "This is the message: #{payload}" # close the connection conn.stop
评论
OedipusSphinx 的 Ruby 开发包
Oedipus是Sphinx搜索引擎(>2.0.2)的Ruby客户端,支持实时索引和多维的faceted搜索。示例代码:require "oedipus"sphinx = Oedipus.con
OedipusSphinx 的 Ruby 开发包
0
redis-rbRedis 的 Ruby 开发包
redis-rb是Redis最为成熟而且稳定的客户端开发包,要求先装hiredisgem,这样可发挥最高的性能。示例代码:require"redis"redis=Redis.new(:host=>
redis-rbRedis 的 Ruby 开发包
0
Mailgun rubygemMailgun 的 Ruby 开发包
Mailgun rubygem 是 Mailgun 服务的 Ruby 开发包,功能包括:Mailin
Mailgun rubygemMailgun 的 Ruby 开发包
0
Mailgun rubygemMailgun 的 Ruby 开发包
Mailgunrubygem是Mailgun服务的Ruby开发包,功能包括:MailingListsMailingListMembersMailboxesRoutesLogStatsMessagesB
Mailgun rubygemMailgun 的 Ruby 开发包
0