Sha256: 86aaf3dffecaa18d6f7d879188cf70e88f5f670b734f47db38c4ead7cc887c24
Contents?: true
Size: 396 Bytes
Versions: 10
Compression:
Stored size: 396 Bytes
Contents
require "beefcake" require "kurchatov/riemann/event" module Kurchatov module Riemann class Message include Beefcake::Message optional :ok, :bool, 2 optional :error, :string, 3 repeated :events, Event, 6 def encode_with_length buffer = '' encoded = encode buffer "#{[encoded.length].pack('N')}#{encoded}" end end end end
Version data entries
10 entries across 10 versions & 1 rubygems