greyhound v0.1.0 Greyhound.Event

Link to this section Summary

Functions

Returns a new event

Link to this section Types

Link to this type t()
t() :: %Greyhound.Event{
  id: binary(),
  message: term(),
  node: atom(),
  occurred_at: NaiveDateTime.t(),
  topic: binary()
}

Link to this section Functions

Link to this function new(topic, message)
new(binary(), term()) :: t()

Returns a new event.