Ircxd.Server.Event (ircxd v1.1.0)

Copy Markdown View Source

A committed server-domain event delivered to an Ircxd.Server.Adapter.

Events describe accepted state changes rather than raw socket input. In particular, credential-bearing commands are never represented as events.

The :type field identifies the change. The :data field contains the event-specific data. The other fields identify the server and event time.

Summary

Types

t()

A committed server state change.

Types

t()

@type t() :: %Ircxd.Server.Event{
  at: DateTime.t(),
  data: map(),
  server_id: term(),
  server_name: String.t(),
  type: atom()
}

A committed server state change.