class

Tinrelay::Outbox

Inherits Reference < Object

Constants

UUID = /\A[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\z/

Constructors

new(directory : String)
Source

Instance methods

cleanup(now : Int64 = Time.utc.to_unix) : Int32
Source
delete(id : String) : Nil
Source
directory
Source
list(now : Int64 = Time.utc.to_unix) : Array(SignedRelayEnvelope)
Source
read(id : String) : Tuple(SignedRelayEnvelope, String)
Source
store(envelope : SignedRelayEnvelope) : String
Source