Ircxd.Batch (ircxd v1.1.0)

Copy Markdown View Source

Parser helpers for IRCv3 BATCH messages.

Summary

Functions

Parses the parameters of a BATCH start or end message.

Functions

parse(arg1)

@spec parse([String.t()]) ::
  {:ok,
   %{direction: :start, ref: String.t(), type: String.t(), params: [String.t()]}}
  | {:ok, %{direction: :end, ref: String.t()}}
  | {:error, atom()}

Parses the parameters of a BATCH start or end message.